Decodes binary or protocol-specific data into higher-level message objects. MINA invokes {@link #decode(ProtocolSession,ByteBuffer,ProtocolDecoderOutput)}method with read data, and then the decoder implementation puts decoded messages into {@link ProtocolDecoderOutput} by calling{@link ProtocolDecoderOutput#write(Object)}.
Please refer to TextLineDecoder
example.
@author The Apache Directory Project (dev@directory.apache.org)
@version $Rev: 357871 $, $Date: 2005-12-20 10:56:40 +0900 (Tue, 20 Dec 2005) $