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 TypeMethodDescriptionvoidflush()Flushes all messages you wrote viawrite(Object)to the next filter.voidCallback forProtocolDecoderto generate decoded messages.
-
Method Details
-
write
Callback forProtocolDecoderto generate decoded messages.ProtocolDecodermust 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.
-