Interface IOEventDispatch

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CONNECTION_KEY
      Attribute name of an object that represents a non-blocking connection.
    • Field Detail

      • CONNECTION_KEY

        static final java.lang.String CONNECTION_KEY
        Attribute name of an object that represents a non-blocking connection.
        See Also:
        Constant Field Values
    • Method Detail

      • connected

        void connected​(IOSession session)
        Triggered after the given session has been just created.
        Parameters:
        session - the I/O session.
      • inputReady

        void inputReady​(IOSession session)
        Triggered when the given session has input pending.
        Parameters:
        session - the I/O session.
      • outputReady

        void outputReady​(IOSession session)
        Triggered when the given session is ready for output.
        Parameters:
        session - the I/O session.
      • timeout

        void timeout​(IOSession session)
        Triggered when the given session as timed out.
        Parameters:
        session - the I/O session.
      • disconnected

        void disconnected​(IOSession session)
        Triggered when the given session has been terminated.
        Parameters:
        session - the I/O session.