Class SimpleProtocolDecoderOutput
java.lang.Object
org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput
- All Implemented Interfaces:
ProtocolDecoderOutput
A
ProtocolDecoderOutput based on queue.-
Constructor Summary
ConstructorsConstructorDescriptionSimpleProtocolDecoderOutput(IoSession session, IoFilter.NextFilter nextFilter) -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()Flushes all messages you wrote viaProtocolDecoderOutput.write(Object)to the next filter.voidCallback forProtocolDecoderto generate decoded messages.
-
Constructor Details
-
SimpleProtocolDecoderOutput
-
-
Method Details
-
write
Description copied from interface:ProtocolDecoderOutputCallback forProtocolDecoderto generate decoded messages.ProtocolDecodermust callProtocolDecoderOutput.write(Object)for each decoded messages.- Specified by:
writein interfaceProtocolDecoderOutput- Parameters:
message- the decoded message
-
flush
public void flush()Description copied from interface:ProtocolDecoderOutputFlushes all messages you wrote viaProtocolDecoderOutput.write(Object)to the next filter.- Specified by:
flushin interfaceProtocolDecoderOutput
-