Class SimpleProtocolDecoderOutput
- java.lang.Object
-
- org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput
-
- All Implemented Interfaces:
ProtocolDecoderOutput
public class SimpleProtocolDecoderOutput extends java.lang.Object implements ProtocolDecoderOutput
AProtocolDecoderOutputbased on queue.
-
-
Constructor Summary
Constructors Constructor Description SimpleProtocolDecoderOutput(IoSession session, IoFilter.NextFilter nextFilter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush()Flushes all messages you wrote viaProtocolDecoderOutput.write(Object)to the next filter.voidwrite(java.lang.Object message)Callback forProtocolDecoderto generate decoded messages.
-
-
-
Constructor Detail
-
SimpleProtocolDecoderOutput
public SimpleProtocolDecoderOutput(IoSession session, IoFilter.NextFilter nextFilter)
-
-
Method Detail
-
write
public void write(java.lang.Object message)
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
-
-