Package org.apache.mina.core.service
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
protected static class AbstractIoService.ServiceOperationFuture extends DefaultIoFuture
AIoFuture
dedicated class for
-
-
Constructor Summary
Constructors Constructor Description ServiceOperationFuture()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Exception
getException()
boolean
isDone()
void
setDone()
void
setException(Exception exception)
-
Methods inherited from class org.apache.mina.core.future.DefaultIoFuture
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getSession, getValue, join, join, removeListener, setValue
-
-
-
-
Method Detail
-
isDone
public final boolean isDone()
- Specified by:
isDone
in interfaceIoFuture
- Overrides:
isDone
in classDefaultIoFuture
- Returns:
- true if the operation is completed.
-
setDone
public final void setDone()
-
getException
public final Exception getException()
-
setException
public final void setException(Exception exception)
-
-