public class ReadTask<T extends ExecutionContext>
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
ReadTask(MessageQueue<T> messageQueue,
MessageReader messageReader)
Construct a new ReadTask that will read from the given message input stream and store the incoming messages in
the given MessageQueue.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
public ReadTask(MessageQueue<T> messageQueue, MessageReader messageReader)
messageQueue
- The MessageQueue.messageReader
- The MessageReader.