Interface IoFutureListener<F extends IoFuture>

Type Parameters:
F - The Future type
All Superinterfaces:
EventListener
All Known Implementing Classes:
CompositeIoFuture.NotifyingListener, IdleStatusChecker.SessionCloseListener, IoServiceListenerSupport.LockNotifyingListener, VmPipeConnector.LocalAddressReclaimer

public interface IoFutureListener<F extends IoFuture> extends EventListener
Something interested in being notified when the completion of an asynchronous I/O operation : IoFuture.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    An IoFutureListener that closes the IoSession which is associated with the specified IoFuture.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when the operation associated with the IoFuture has been completed even if you add the listener after the completion.
  • Field Details

  • Method Details

    • operationComplete

      void operationComplete(F future)
      Invoked when the operation associated with the IoFuture has been completed even if you add the listener after the completion.
      Parameters:
      future - The source IoFuture which called this callback.