Uses of Interface
org.apache.mina.core.future.IoFuture
Packages that use IoFuture
Package
Description
Common types required for users to use MINA.
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).
In-VM pipe support which removes the overhead of local loopback communication.
-
Uses of IoFuture in org.apache.mina.core
Method parameters in org.apache.mina.core with type arguments of type IoFutureModifier and TypeMethodDescriptionstatic voidstatic booleanstatic booleanprivate static booleanstatic voidIoUtil.awaitUninterruptably(Iterable<? extends IoFuture> futures) Wait on all theIoFutures we get.static booleanIoUtil.awaitUninterruptibly(Iterable<? extends IoFuture> futures, long timeoutMillis) Wait on all theIoFutures we get.static booleanIoUtil.awaitUninterruptibly(Iterable<? extends IoFuture> futures, long timeout, TimeUnit unit) Wait on all theIoFutures we get. -
Uses of IoFuture in org.apache.mina.core.future
Classes in org.apache.mina.core.future with type parameters of type IoFutureModifier and TypeClassDescriptionclassCompositeIoFuture<E extends IoFuture>interfaceIoFutureListener<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.futureModifier and TypeInterfaceDescriptioninterfaceAnIoFuturefor asynchronous close requests.interfaceAnIoFuturefor asynchronous connect requests.interfaceAnIoFutureforasynchronous read requests.interfaceAnIoFuturefor asynchronous write requests.Classes in org.apache.mina.core.future that implement IoFutureModifier and TypeClassDescriptionclassCompositeIoFuture<E extends IoFuture>classA default implementation ofCloseFuture.classA default implementation ofConnectFuture.classclassA default implementation ofWriteFuture.classA default implementation ofWriteFuture.Classes in org.apache.mina.core.future that implement interfaces with type arguments of type IoFutureFields in org.apache.mina.core.future with type parameters of type IoFutureMethods in org.apache.mina.core.future that return IoFutureModifier and TypeMethodDescriptionDefaultIoFuture.addListener(IoFutureListener<?> listener) Adds an eventlistenerwhich is notified when this future is completed.IoFuture.addListener(IoFutureListener<?> listener) Adds an eventlistenerwhich is notified when this future is completed.DefaultIoFuture.await()Wait for the asynchronous operation to complete.IoFuture.await()Wait for the asynchronous operation to complete.DefaultIoFuture.awaitUninterruptibly()Wait for the asynchronous operation to complete uninterruptibly.IoFuture.awaitUninterruptibly()Wait for the asynchronous operation to complete uninterruptibly.DefaultIoFuture.removeListener(IoFutureListener<?> listener) Removes an existing eventlistenerso it won't be notified when the future is completed.IoFuture.removeListener(IoFutureListener<?> listener) Removes an existing eventlistenerso it won't be notified when the future is completed.Methods in org.apache.mina.core.future with parameters of type IoFutureModifier and TypeMethodDescriptionvoidCompositeIoFuture.NotifyingListener.operationComplete(IoFuture future) Invoked when the operation associated with theIoFuturehas been completed even if you add the listener after the completion. -
Uses of IoFuture in org.apache.mina.core.polling
Classes in org.apache.mina.core.polling that implement IoFutureModifier and TypeClassDescriptionfinal classA ConnectionRequest's Iouture -
Uses of IoFuture in org.apache.mina.core.service
Classes in org.apache.mina.core.service that implement IoFutureModifier and TypeClassDescriptionstatic classAIoFutureprotected static classAIoFuturededicated class forClasses in org.apache.mina.core.service that implement interfaces with type arguments of type IoFutureModifier and TypeClassDescriptionprivate static classA listener in charge of releasing the lock when the close has been completedMethods in org.apache.mina.core.service with parameters of type IoFutureModifier and TypeMethodDescriptionprotected final voidAbstractIoConnector.finishSessionInitialization0(IoSession session, IoFuture future) Adds required internal attributes andIoFutureListeners related with event notifications to the specifiedsessionandfuture.protected voidAbstractIoService.finishSessionInitialization0(IoSession session, IoFuture future) Implement this method to perform additional tasks required for session initialization.protected final voidAbstractIoService.initSession(IoSession session, IoFuture future, IoSessionInitializer sessionInitializer) voidIoServiceListenerSupport.LockNotifyingListener.operationComplete(IoFuture future) -
Uses of IoFuture in org.apache.mina.core.session
Classes in org.apache.mina.core.session with type parameters of type IoFutureModifier and TypeInterfaceDescriptioninterfaceIoSessionInitializer<T extends IoFuture>Defines a callback for obtaining theIoSessionduring session initialization.Classes in org.apache.mina.core.session that implement interfaces with type arguments of type IoFutureFields in org.apache.mina.core.session with type parameters of type IoFutureModifier and TypeFieldDescriptionprivate final IoFutureListener<IoFuture> IdleStatusChecker.sessionCloseListenerMethods in org.apache.mina.core.session with parameters of type IoFutureModifier and TypeMethodDescriptionvoidIdleStatusChecker.SessionCloseListener.operationComplete(IoFuture future) Invoked when the operation associated with theIoFuturehas been completed even if you add the listener after the completion. -
Uses of IoFuture in org.apache.mina.transport.vmpipe
Classes in org.apache.mina.transport.vmpipe that implement interfaces with type arguments of type IoFutureFields in org.apache.mina.transport.vmpipe with type parameters of type IoFutureModifier and TypeFieldDescriptionprivate static final IoFutureListener<IoFuture> VmPipeConnector.LOCAL_ADDRESS_RECLAIMERMethods in org.apache.mina.transport.vmpipe with parameters of type IoFutureModifier and TypeMethodDescription(package private) voidVmPipeAcceptor.doFinishSessionInitialization(IoSession session, IoFuture future) voidVmPipeConnector.LocalAddressReclaimer.operationComplete(IoFuture future)