org.apache.mina.filter.codec.demux

Class MessageDecoderAdapter

Implemented Interfaces:
MessageDecoder

public abstract class MessageDecoderAdapter
extends java.lang.Object
implements MessageDecoder

An abstract MessageDecoder implementation for those who don't need to implement MessageDecoder.finishDecode(IoSession,ProtocolDecoderOutput) method.

Fields inherited from interface org.apache.mina.filter.codec.demux.MessageDecoder

NEED_DATA, NOT_OK, OK

Method Summary

void
finishDecode(IoSession session, ProtocolDecoderOutput out)
Override this method to deal with the closed connection.

Method Details

finishDecode

public void finishDecode(IoSession session,
                         ProtocolDecoderOutput out)
            throws Exception
Override this method to deal with the closed connection. The default implementation does nothing.
Specified by:
finishDecode in interface MessageDecoder