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 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)
Wait on all theIoFuture
s we get.static boolean
IoUtil. awaitUninterruptibly(Iterable<? extends IoFuture> futures, long timeoutMillis)
Wait on all theIoFuture
s we get.static boolean
IoUtil. awaitUninterruptibly(Iterable<? extends IoFuture> futures, long timeout, TimeUnit unit)
Wait on all theIoFuture
s we get. -
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 Description class
CompositeIoFuture<E extends IoFuture>
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 Description interface
CloseFuture
AnIoFuture
for asynchronous close requests.interface
ConnectFuture
AnIoFuture
for asynchronous connect requests.interface
ReadFuture
AnIoFuture
forasynchronous read requests
.interface
WriteFuture
AnIoFuture
for asynchronous write requests.Classes in org.apache.mina.core.future that implement IoFuture Modifier and Type Class Description class
CompositeIoFuture<E extends IoFuture>
class
DefaultCloseFuture
A default implementation ofCloseFuture
.class
DefaultConnectFuture
A default implementation ofConnectFuture
.class
DefaultIoFuture
class
DefaultReadFuture
A default implementation ofWriteFuture
.class
DefaultWriteFuture
A default implementation ofWriteFuture
.Fields in org.apache.mina.core.future with type parameters of type IoFuture Modifier and Type Field Description static IoFutureListener<IoFuture>
IoFutureListener. CLOSE
Methods in org.apache.mina.core.future that return IoFuture Modifier and Type Method Description IoFuture
DefaultIoFuture. addListener(IoFutureListener<?> listener)
Adds an event listener which is notified when this future is completed.IoFuture
IoFuture. addListener(IoFutureListener<?> listener)
Adds an event listener which is notified when this future is completed.IoFuture
DefaultIoFuture. await()
Wait for the asynchronous operation to complete.IoFuture
IoFuture. await()
Wait for the asynchronous operation to complete.IoFuture
DefaultIoFuture. awaitUninterruptibly()
Wait for the asynchronous operation to complete uninterruptibly.IoFuture
IoFuture. awaitUninterruptibly()
Wait for the asynchronous operation to complete uninterruptibly.IoFuture
DefaultIoFuture. removeListener(IoFutureListener<?> listener)
Removes an existing event listener so it won't be notified when the future is completed.IoFuture
IoFuture. 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 Description class
AbstractPollingIoConnector.ConnectionRequest
A ConnectionRequest's Iouture -
Uses of IoFuture in org.apache.mina.core.service
Classes in org.apache.mina.core.service that implement IoFuture Modifier and Type Class Description static class
AbstractIoAcceptor.AcceptorOperationFuture
AIoFuture
protected static class
AbstractIoService.ServiceOperationFuture
AIoFuture
dedicated class forMethods in org.apache.mina.core.service with parameters of type IoFuture Modifier and Type Method Description protected void
AbstractIoConnector. finishSessionInitialization0(IoSession session, IoFuture future)
Adds required internal attributes andIoFutureListener
s related with event notifications to the specifiedsession
andfuture
.protected void
AbstractIoService. finishSessionInitialization0(IoSession session, IoFuture future)
Implement this method to perform additional tasks required for session initialization.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 Description interface
IoSessionInitializer<T extends IoFuture>
Defines a callback for obtaining theIoSession
during session initialization.
-