Interface ProtocolDecoder

All Known Implementing Classes:
CumulativeProtocolDecoder, DecodingStateProtocolDecoder, DemuxingProtocolDecoder, HttpClientDecoder, HttpServerDecoder, ObjectSerializationDecoder, PrefixedStringDecoder, ProtocolDecoderAdapter, SynchronizedProtocolDecoder, TextLineDecoder

public interface ProtocolDecoder
Decodes binary or protocol-specific data into higher-level message objects. MINA invokes decode(IoSession, IoBuffer, ProtocolDecoderOutput) method with read data, and then the decoder implementation puts decoded messages into ProtocolDecoderOutput by calling ProtocolDecoderOutput.write(Object).

Please refer to TextLineDecoder example.

See Also: