Class ProtocolEncoderAdapter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispose​(IoSession session)
      Override this method dispose all resources related with this encoder.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProtocolEncoderAdapter

        public ProtocolEncoderAdapter()
    • Method Detail

      • dispose

        public void dispose​(IoSession session)
                     throws java.lang.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:
        java.lang.Exception - if failed to dispose all resources