public class SimpleProtocolDecoderOutput extends Object implements ProtocolDecoderOutput
ProtocolDecoderOutput
based on queue.Constructor and Description |
---|
SimpleProtocolDecoderOutput(IoSession session,
IoFilter.NextFilter nextFilter) |
Modifier and Type | Method and Description |
---|---|
void |
flush()
Flushes all messages you wrote via
ProtocolDecoderOutput.write(Object) to
the next filter. |
void |
write(Object message)
Callback for
ProtocolDecoder to generate decoded messages. |
public SimpleProtocolDecoderOutput(IoSession session, IoFilter.NextFilter nextFilter)
public void write(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 messagepublic void flush()
ProtocolDecoderOutput
ProtocolDecoderOutput.write(Object)
to
the next filter.flush
in interface ProtocolDecoderOutput
Copyright © 2004–2014 Apache MINA Project. All rights reserved.