|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.xnio.AbstractIoFuture<T>
org.jboss.xnio.FailedIoFuture<T>
org.jboss.xnio.FailedFutureConnection<A,T>
A - the address typeT - the type of result that this operation producespublic class FailedFutureConnection<A,T>
An implementation of FutureConnection that represents an immediately-failed operation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.xnio.IoFuture |
|---|
IoFuture.HandlingNotifier<T,A>, IoFuture.Notifier<T,A>, IoFuture.Status |
| Constructor Summary | |
|---|---|
FailedFutureConnection(java.io.IOException e,
A address)
Create an instance. |
|
| Method Summary | |
|---|---|
FutureConnection<A,T> |
cancel()
Cancel the operation. |
A |
getLocalAddress()
The local address of the future channel. |
| Methods inherited from class org.jboss.xnio.AbstractIoFuture |
|---|
addNotifier, await, await, awaitInterruptibly, awaitInterruptibly, finishCancel, get, getException, getInterruptibly, getNotifierExecutor, getStatus, runNotifier, setException, setResult |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.xnio.IoFuture |
|---|
addNotifier, await, await, awaitInterruptibly, awaitInterruptibly, get, getException, getInterruptibly, getStatus |
| Constructor Detail |
|---|
public FailedFutureConnection(java.io.IOException e,
A address)
e - the failure causeaddress - the address to return| Method Detail |
|---|
public A getLocalAddress()
getLocalAddress in interface FutureConnection<A,T>BoundChannel.getLocalAddress()public FutureConnection<A,T> cancel()
cancel in interface FutureConnection<A,T>cancel in interface IoFuture<T>cancel in class FailedIoFuture<T>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||