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
AProtocolDecoderOutput
based 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 void
flush()
Flushes all messages you wrote viaProtocolDecoderOutput.write(Object)
to the next filter.void
write(java.lang.Object message)
Callback forProtocolDecoder
to 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:ProtocolDecoderOutput
Callback forProtocolDecoder
to generate decoded messages.ProtocolDecoder
must callProtocolDecoderOutput.write(Object)
for each decoded messages.- Specified by:
write
in interfaceProtocolDecoderOutput
- Parameters:
message
- the decoded message
-
flush
public void flush()
Description copied from interface:ProtocolDecoderOutput
Flushes all messages you wrote viaProtocolDecoderOutput.write(Object)
to the next filter.- Specified by:
flush
in interfaceProtocolDecoderOutput
-
-