Class IdleStatusChecker.SessionCloseListener

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void operationComplete​(IoFuture future)
      Invoked when the operation associated with the IoFuture has been completed even if you add the listener after the completion.
      private void removeSession​(AbstractIoSession session)
      remove a session from the list of session being checked.
      • Methods inherited from class java.lang.Object

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

      • SessionCloseListener

        public SessionCloseListener()
        Default constructor
    • Method Detail

      • operationComplete

        public void operationComplete​(IoFuture future)
        Invoked when the operation associated with the IoFuture has been completed even if you add the listener after the completion.
        Specified by:
        operationComplete in interface IoFutureListener<IoFuture>
        Parameters:
        future - The source IoFuture which called this callback.
      • removeSession

        private void removeSession​(AbstractIoSession session)
        remove a session from the list of session being checked.
        Parameters:
        session - The session to remove