Package org.apache.mina.filter.codec
Interface ProtocolDecoderOutput
- All Known Implementing Classes:
SimpleProtocolDecoderOutput
public interface ProtocolDecoderOutput
Callback for
ProtocolDecoder
to generate decoded messages.
ProtocolDecoder
must call write(Object)
for each decoded
messages.-
Method Summary
Modifier and TypeMethodDescriptionvoid
flush()
Flushes all messages you wrote viawrite(Object)
to the next filter.void
Callback forProtocolDecoder
to generate decoded messages.
-
Method Details
-
write
Callback forProtocolDecoder
to generate decoded messages.ProtocolDecoder
must callwrite(Object)
for each decoded messages.- Parameters:
message
- the decoded message
-
flush
void flush()Flushes all messages you wrote viawrite(Object)
to the next filter.
-