Decodes binary or protocol-specific data into higher-level message objects. MINA invokes {@link #decode(IoSession,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 (mina-dev@directory.apache.org)
@version $Rev: 555855 $, $Date: 2007-07-13 12:19:00 +0900 (Fri, 13 Jul 2007) $