|
XNIO API 2.1.0.CR2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IoFuture | |
|---|---|
| org.jboss.xnio | The main API package for XNIO. |
| org.jboss.xnio.channels | Defines an enhanced set of channels. |
| Uses of IoFuture in org.jboss.xnio |
|---|
| Classes in org.jboss.xnio that implement IoFuture | |
|---|---|
class |
AbstractConvertingIoFuture<T,D>
An IoFuture implementation that wraps a different type of IoFuture. |
class |
AbstractIoFuture<T>
An abstract base class for IoFuture objects. |
class |
FailedIoFuture<T>
An implementation of IoFuture that represents an immediately-failed operation. |
class |
FinishedIoFuture<T>
An implementation of IoFuture that represents an immediately-successful operation. |
| Fields in org.jboss.xnio declared as IoFuture | |
|---|---|
protected IoFuture<? extends D> |
AbstractConvertingIoFuture.delegate
The delegate future result. |
| Methods in org.jboss.xnio that return IoFuture | ||
|---|---|---|
IoFuture<T> |
ChannelDestination.accept(ChannelListener<? super T> openListener,
ChannelListener<? super BoundChannel<A>> bindListener)
Accept a connection. |
|
IoFuture<T> |
Acceptor.acceptTo(A dest,
ChannelListener<? super T> openListener,
ChannelListener<? super BoundChannel<A>> bindListener)
Accept a connection at a destination address. |
|
|
IoFuture.addNotifier(IoFuture.Notifier<? super T,A> notifier,
A attachment)
Add a notifier to be called when this operation is complete. |
|
|
AbstractConvertingIoFuture.addNotifier(IoFuture.Notifier<? super T,A> notifier,
A attachment)
|
|
|
AbstractIoFuture.addNotifier(IoFuture.Notifier<? super T,A> notifier,
A attachment)
Add a notifier to be called when this operation is complete. |
|
IoFuture<T> |
FinishedIoFuture.cancel()
Cancel the operation. |
|
IoFuture<T> |
IoFuture.cancel()
Cancel an operation. |
|
IoFuture<T> |
AbstractConvertingIoFuture.cancel()
|
|
IoFuture<T> |
AbstractIoFuture.cancel()
Cancel an operation. |
|
IoFuture<T> |
FailedIoFuture.cancel()
Cancel the operation. |
|
static
|
IoUtils.cast(IoFuture<I> parent,
Class<O> type)
Create an IoFuture which wraps another IoFuture, but returns a different type. |
|
IoFuture<T> |
Connector.connectTo(A dest,
ChannelListener<? super T> openListener,
ChannelListener<? super BoundChannel<A>> bindListener)
Establish a connection to a destination. |
|
IoFuture<SslTcpChannel> |
SslTcpConnector.connectTo(InetSocketAddress destination,
ChannelListener<? super SslTcpChannel> openListener,
ChannelListener<? super BoundChannel<InetSocketAddress>> bindListener)
Establish a connection to an SSL TCP server. |
|
IoFuture<TcpChannel> |
TcpConnector.connectTo(InetSocketAddress destination,
ChannelListener<? super TcpChannel> openListener,
ChannelListener<? super BoundChannel<InetSocketAddress>> bindListener)
Establish a connection to a TCP server. |
|
IoFuture<? extends Closeable> |
Xnio.createOneWayPipeConnection(ChannelListener<? super StreamSourceChannel> sourceListener,
ChannelListener<? super StreamSinkChannel> sinkListener)
Create a single one-way pipe connection. |
|
IoFuture<? extends Closeable> |
Xnio.createOneWayPipeConnection(Executor executor,
ChannelListener<? super StreamSourceChannel> sourceListener,
ChannelListener<? super StreamSinkChannel> sinkListener)
Create a single one-way pipe connection. |
|
IoFuture<? extends Closeable> |
Xnio.createPipeConnection(ChannelListener<? super StreamChannel> leftListener,
ChannelListener<? super StreamChannel> rightListener)
Create a single pipe connection. |
|
IoFuture<? extends Closeable> |
Xnio.createPipeConnection(Executor executor,
ChannelListener<? super StreamChannel> leftListener,
ChannelListener<? super StreamChannel> rightListener)
Create a single pipe connection. |
|
protected IoFuture<? extends D> |
AbstractConvertingIoFuture.getDelegate()
|
|
IoFuture<T> |
FutureResult.getIoFuture()
Get the IoFuture for this manager. |
|
IoFuture<? extends T> |
ChannelSource.open(ChannelListener<? super T> openListener)
Open a channel. |
|
IoFuture<TcpChannel> |
TcpChannelSource.open(ChannelListener<? super TcpChannel> openListener)
Open a channel. |
|
| Methods in org.jboss.xnio with parameters of type IoFuture | ||
|---|---|---|
static void |
IoUtils.awaitAll(IoFuture<?>... futures)
Wait for all the futures to complete. |
|
static void |
IoUtils.awaitAllInterruptibly(IoFuture<?>... futures)
Wait for all the futures to complete. |
|
static
|
IoUtils.cast(IoFuture<I> parent,
Class<O> type)
Create an IoFuture which wraps another IoFuture, but returns a different type. |
|
static
|
IoUtils.getFuture(IoFuture<T> ioFuture)
Get a java.util.concurrent-style Future instance wrapper for an IoFuture instance. |
|
void |
IoFuture.Notifier.notify(IoFuture<? extends T> ioFuture,
A attachment)
Receive notification of the completion of an outstanding operation. |
|
void |
IoFuture.HandlingNotifier.notify(IoFuture<? extends T> future,
A attachment)
Receive notification of the completion of an outstanding operation. |
|
static void |
IoUtils.safeClose(IoFuture<? extends Closeable> futureResource)
Close a future resource, logging an error if an error occurs. |
|
| Constructors in org.jboss.xnio with parameters of type IoFuture | |
|---|---|
AbstractConvertingIoFuture(IoFuture<? extends D> delegate)
|
|
| Uses of IoFuture in org.jboss.xnio.channels |
|---|
| Methods in org.jboss.xnio.channels that return IoFuture | |
|---|---|
IoFuture<? extends T> |
BoundServer.bind(A address)
Add a binding. |
|
XNIO API 2.1.0.CR2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||