public interface ProtocolDecoderOutput
ProtocolDecoder
to generate decoded messages.
ProtocolDecoder
must call write(Object)
for each decoded
messages.Modifier and Type | Method and Description |
---|---|
void |
flush(IoFilter.NextFilter nextFilter,
IoSession session)
Flushes all messages you wrote via
write(Object) to
the next filter. |
void |
write(Object message)
Callback for
ProtocolDecoder to generate decoded messages. |
void write(Object message)
ProtocolDecoder
to generate decoded messages.
ProtocolDecoder
must call write(Object)
for each
decoded messages.message
- the decoded messagevoid flush(IoFilter.NextFilter nextFilter, IoSession session)
write(Object)
to
the next filter.nextFilter
- the next Filtersession
- The current SessionCopyright © 2004–2018 Apache MINA Project. All rights reserved.