com.croftsoft.core.net.http.msg
Class HttpMessagePusher
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
HttpMessagePusher
public HttpMessagePusher(Queue outgoingQueue,
Queue incomingQueue,
URL url,
String userAgent,
String contentType,
Encoder encoder,
Parser parser)
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 Core Javadoc (2008-09-28 20:58:02)