Class ProtocolEncoderAdapter

    • Constructor Detail

      • ProtocolEncoderAdapter

        public ProtocolEncoderAdapter()
    • Method Detail

      • dispose

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