public class SimpleProtocolDecoderOutput extends java.lang.Object implements ProtocolDecoderOutput
ProtocolDecoderOutput
based on queue.Constructor and Description |
---|
SimpleProtocolDecoderOutput() |
Modifier and Type | Method and Description |
---|---|
Queue |
getMessageQueue() |
void |
write(java.lang.Object message)
Callback for
ProtocolDecoder to generate decoded messages. |
public Queue getMessageQueue()
public void write(java.lang.Object message)
ProtocolDecoderOutput
ProtocolDecoder
to generate decoded messages.
ProtocolDecoder
must call ProtocolDecoderOutput.write(Object)
for each
decoded messages.write
in interface ProtocolDecoderOutput
message
- the decoded message