|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.xnio.AbstractIoFuture<UdpChannel>
org.jboss.xnio.nio.FutureUdpChannel
public class FutureUdpChannel
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jboss.xnio.IoFuture |
---|
IoFuture.HandlingNotifier<T,A>, IoFuture.Notifier<T,A>, IoFuture.Status |
Method Summary | |
---|---|
IoFuture<UdpChannel> |
cancel()
Cancel an operation. |
protected boolean |
done()
|
protected boolean |
setException(java.io.IOException exception)
Set the exception for this operation. |
Methods inherited from class org.jboss.xnio.AbstractIoFuture |
---|
addNotifier, await, await, awaitInterruptibly, awaitInterruptibly, finishCancel, get, getException, getInterruptibly, getNotifierExecutor, getStatus, runNotifier, setResult |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected boolean setException(java.io.IOException exception)
AbstractIoFuture
setException
in class AbstractIoFuture<UdpChannel>
exception
- the exception to set
false
if the operation was already completed, true
otherwiseprotected boolean done()
public IoFuture<UdpChannel> cancel()
AbstractIoFuture
AbstractIoFuture.finishCancel()
method to indicate that the cancel was successful. The
default implementation does nothing.
cancel
in interface IoFuture<UdpChannel>
cancel
in class AbstractIoFuture<UdpChannel>
IoFuture
instance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |