Class DefaultCloseFuture

    • Constructor Detail

      • DefaultCloseFuture

        public DefaultCloseFuture​(IoSession session)
        Creates a new instance.
      • DefaultCloseFuture

        public DefaultCloseFuture​(IoSession session,
                                  java.lang.Object lock)
        Creates a new instance which uses the specified object as a lock.
    • Method Detail

      • isClosed

        public boolean isClosed()
        Description copied from interface: CloseFuture
        Returns true if the close request is finished and the session is closed.
        Specified by:
        isClosed in interface CloseFuture
      • setClosed

        public void setClosed()
        Description copied from interface: CloseFuture
        Marks this future as closed and notifies all threads waiting for this future. This method is invoked by MINA internally. Please do not call this method directly.
        Specified by:
        setClosed in interface CloseFuture