Class ProtocolDecoderAdapter

    • Constructor Detail

      • ProtocolDecoderAdapter

        public ProtocolDecoderAdapter()
    • Method Detail

      • dispose

        public void dispose​(IoSession session)
                     throws Exception
        Override this method to dispose all resources related with this decoder. The default implementation does nothing.
        Specified by:
        dispose in interface ProtocolDecoder
        Parameters:
        session - The current Session
        Throws:
        Exception - if failed to dispose all resources