public class WriteTask<T extends ExecutionContext>
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
WriteTask(MessageQueue<T> messageQueue,
MessageWriter messageWriter)
Construct a new WriteTask that will send messages from the given MessageQueue via the given MessageWriter.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
public WriteTask(MessageQueue<T> messageQueue, MessageWriter messageWriter)
messageQueue
- The MessageQueue.messageWriter
- The MessageWriter.