Class MessageDecoderAdapter

    • Constructor Detail

      • MessageDecoderAdapter

        public MessageDecoderAdapter()
    • Method Detail

      • finishDecode

        public void finishDecode​(IoSession session,
                                 ProtocolDecoderOutput out)
                          throws java.lang.Exception
        Override this method to deal with the closed connection. The default implementation does nothing.
        Specified by:
        finishDecode in interface MessageDecoder
        Throws:
        java.lang.Exception - if the read data violated protocol specification