com.croftsoft.core.net.http.msg
Class HttpMessagePusher

java.lang.Object
  extended by com.croftsoft.core.net.http.msg.HttpMessagePusher
All Implemented Interfaces:
Commissionable, Destroyable, Initializable, Lifecycle, Resumable, Startable, Stoppable

public final class HttpMessagePusher
extends Object
implements Lifecycle

Pushes outgoing messages to the server using HTTP.

Since:
2000-04-23
Version:
2003-05-26
Author:
David Wallace Croft

Field Summary
static long MINIMUM_DELAY
           
static String THREAD_NAME
           
static int THREAD_PRIORITY
           
static boolean USE_DAEMON_THREAD
           
 
Constructor Summary
HttpMessagePusher(Queue outgoingQueue, Queue incomingQueue, URL url, String userAgent, String contentType, Encoder encoder, Parser parser)
           
 
Method Summary
 void destroy()
           
 void init()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MINIMUM_DELAY

public static final long MINIMUM_DELAY
See Also:
Constant Field Values

THREAD_NAME

public static final String THREAD_NAME
See Also:
Constant Field Values

THREAD_PRIORITY

public static final int THREAD_PRIORITY
See Also:
Constant Field Values

USE_DAEMON_THREAD

public static final boolean USE_DAEMON_THREAD
See Also:
Constant Field Values
Constructor Detail

HttpMessagePusher

public HttpMessagePusher(Queue outgoingQueue,
                         Queue incomingQueue,
                         URL url,
                         String userAgent,
                         String contentType,
                         Encoder encoder,
                         Parser parser)
Method Detail

init

public void init()
Specified by:
init in interface Initializable

start

public void start()
Specified by:
start in interface Startable

stop

public void stop()
Specified by:
stop in interface Stoppable

destroy

public void destroy()
Specified by:
destroy in interface Destroyable

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)