## Uses of Interface
org.apache.mina.core.future.IoFuture

- Packages that use IoFuture
  Package | Description
  --- | ---
  org.apache.mina.core | Common types required for users to use MINA.
  org.apache.mina.core.future |
  org.apache.mina.core.polling | Base class for implementing transport based on active polling strategies like NIO select call, or any API based on I/O polling system calls (epoll, poll, select, kqueue, etc).
  org.apache.mina.core.service |
  org.apache.mina.core.session |

- - ### Uses of IoFuture in org.apache.mina.core

    Method parameters in org.apache.mina.core with type arguments of type IoFuture
    Modifier and Type | Method and Description
    --- | ---
    `static void` | IoUtil.`await(Iterable<? extends IoFuture> futures)`
    `static boolean` | IoUtil.`await(Iterable<? extends IoFuture> futures, long timeoutMillis)`
    `static boolean` | IoUtil.`await(Iterable<? extends IoFuture> futures, long timeout, TimeUnit unit)`
    `static void` | IoUtil.`awaitUninterruptably(Iterable<? extends IoFuture> futures)`
    `static boolean` | IoUtil.`awaitUninterruptibly(Iterable<? extends IoFuture> futures, long timeoutMillis)`
    `static boolean` | IoUtil.`awaitUninterruptibly(Iterable<? extends IoFuture> futures, long timeout, TimeUnit unit)`

  - ### Uses of IoFuture in org.apache.mina.core.future

    Classes in org.apache.mina.core.future with type parameters of type IoFuture
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CompositeIoFuture<E extends IoFuture>` An `IoFuture` of `IoFuture`s.
    `interface` | `IoFutureListener<F extends IoFuture>` Something interested in being notified when the completion of an asynchronous I/O operation : `IoFuture`.

    Subinterfaces of IoFuture in org.apache.mina.core.future
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `CloseFuture` An `IoFuture` for asynchronous close requests.
    `interface` | `ConnectFuture` An `IoFuture` for asynchronous connect requests.
    `interface` | `ReadFuture` An `IoFuture` for `asynchronous read requests`.
    `interface` | `WriteFuture` An `IoFuture` for asynchronous write requests.

    Classes in org.apache.mina.core.future that implement IoFuture
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CompositeIoFuture<E extends IoFuture>` An `IoFuture` of `IoFuture`s.
    `class` | `DefaultCloseFuture` A default implementation of `CloseFuture`.
    `class` | `DefaultConnectFuture` A default implementation of `ConnectFuture`.
    `class` | `DefaultIoFuture` A default implementation of `IoFuture` associated with an `IoSession`.
    `class` | `DefaultReadFuture` A default implementation of `WriteFuture`.
    `class` | `DefaultWriteFuture` A default implementation of `WriteFuture`.

    Fields in org.apache.mina.core.future with type parameters of type IoFuture
    Modifier and Type | Field and Description
    --- | ---
    `static IoFutureListener<IoFuture>` | IoFutureListener.`CLOSE` An `IoFutureListener` that closes the `IoSession` which is associated with the specified `IoFuture`.

    Methods in org.apache.mina.core.future that return IoFuture
    Modifier and Type | Method and Description
    --- | ---
    `IoFuture` | IoFuture.`addListener(IoFutureListener<?> listener)` Adds an event `listener` which is notified when this future is completed.
    `IoFuture` | DefaultIoFuture.`addListener(IoFutureListener<?> listener)` Adds an event `listener` which is notified when this future is completed.
    `IoFuture` | IoFuture.`await()` Wait for the asynchronous operation to complete.
    `IoFuture` | DefaultIoFuture.`await()` Wait for the asynchronous operation to complete.
    `IoFuture` | IoFuture.`awaitUninterruptibly()` Wait for the asynchronous operation to complete uninterruptibly.
    `IoFuture` | DefaultIoFuture.`awaitUninterruptibly()` Wait for the asynchronous operation to complete uninterruptibly.
    `IoFuture` | IoFuture.`removeListener(IoFutureListener<?> listener)` Removes an existing event `listener` so it won't be notified when the future is completed.
    `IoFuture` | DefaultIoFuture.`removeListener(IoFutureListener<?> listener)` Removes an existing event `listener` so it won't be notified when the future is completed.

  - ### Uses of IoFuture in org.apache.mina.core.polling

    Classes in org.apache.mina.core.polling that implement IoFuture
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractPollingIoConnector.ConnectionRequest`

  - ### Uses of IoFuture in org.apache.mina.core.service

    Classes in org.apache.mina.core.service that implement IoFuture
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `AbstractIoAcceptor.AcceptorOperationFuture`
    `protected static class` | `AbstractIoService.ServiceOperationFuture`

    Methods in org.apache.mina.core.service with parameters of type IoFuture
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AbstractIoService.`finishSessionInitialization0(IoSession session, IoFuture future)` Implement this method to perform additional tasks required for session initialization.
    `protected void` | AbstractIoConnector.`finishSessionInitialization0(IoSession session, IoFuture future)` Adds required internal attributes and `IoFutureListener`s related with event notifications to the specified `session` and `future`.
    `protected void` | AbstractIoService.`initSession(IoSession session, IoFuture future, IoSessionInitializer sessionInitializer)`

  - ### Uses of IoFuture in org.apache.mina.core.session

    Classes in org.apache.mina.core.session with type parameters of type IoFuture
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `IoSessionInitializer<T extends IoFuture>` Defines a callback for obtaining the `IoSession` during session initialization.

Copyright © 2004-2012 Apache MINA Project. All Rights Reserved.