Class AbstractIoService.ServiceOperationFuture
java.lang.Object
org.apache.mina.core.future.DefaultIoFuture
org.apache.mina.core.service.AbstractIoService.ServiceOperationFuture
- All Implemented Interfaces:
IoFuture
- Direct Known Subclasses:
AbstractIoAcceptor.AcceptorOperationFuture
- Enclosing class:
AbstractIoService
A
IoFuture dedicated class for-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Exceptionfinal booleanisDone()final voidsetDone()final voidsetException(Exception exception) Methods inherited from class DefaultIoFuture
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getSession, getValue, join, join, removeListener, setValue
-
Constructor Details
-
ServiceOperationFuture
public ServiceOperationFuture()
-
-
Method Details
-
isDone
public final boolean isDone()- Specified by:
isDonein interfaceIoFuture- Overrides:
isDonein classDefaultIoFuture- Returns:
trueif the operation is completed.
-
setDone
public final void setDone() -
getException
-
setException
-