public abstract class AbstractProtocolDecoderOutput extends java.lang.Object implements ProtocolDecoderOutput
ProtocolDecoderOutput
based on queue.构造器和说明 |
---|
AbstractProtocolDecoderOutput() |
限定符和类型 | 方法和说明 |
---|---|
java.util.Queue<java.lang.Object> |
getMessageQueue() |
void |
write(java.lang.Object message)
Callback for
ProtocolDecoder to generate decoded messages. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
flush
public java.util.Queue<java.lang.Object> 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
在接口中 ProtocolDecoderOutput
message
- the decoded message