Class AbstractSessionIoHandler

    • Constructor Detail

      • AbstractSessionIoHandler

        protected AbstractSessionIoHandler()
    • Method Detail

      • sessionCreated

        public void sessionCreated​(IoSession ioSession)
                            throws java.lang.Exception
        Specified by:
        sessionCreated in interface IoHandler
        Throws:
        java.lang.Exception
      • sessionClosed

        public void sessionClosed​(IoSession ioSession)
                           throws java.lang.Exception
        Specified by:
        sessionClosed in interface IoHandler
        Throws:
        java.lang.Exception
      • exceptionCaught

        public void exceptionCaught​(IoSession ioSession,
                                    java.lang.Throwable cause)
                             throws java.lang.Exception
        Specified by:
        exceptionCaught in interface IoHandler
        Throws:
        java.lang.Exception
      • createSession

        protected abstract AbstractSession createSession​(IoSession ioSession)
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception