|
XNIO API 3.0.7.GA | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IoFuture | |
|---|---|
| org.xnio | The main API package for XNIO. |
| org.xnio.channels | |
| org.xnio.ssl | |
| Uses of IoFuture in org.xnio |
|---|
| Classes in org.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.xnio declared as IoFuture | |
|---|---|
protected IoFuture<? extends D> |
AbstractConvertingIoFuture.delegate
The delegate future result. |
| Methods in org.xnio that return IoFuture | ||
|---|---|---|
IoFuture<? extends T> |
ChannelDestination.accept(ChannelListener<? super T> openListener,
ChannelListener<? super BoundChannel> bindListener)
Accept a connection. |
|
IoFuture<ConnectedMessageChannel> |
XnioWorker.acceptDatagram(SocketAddress destination,
ChannelListener<? super ConnectedMessageChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Accept a message connection at a destination address. |
|
protected IoFuture<ConnectedMessageChannel> |
XnioWorker.acceptLocalDatagram(LocalSocketAddress destination,
ChannelListener<? super ConnectedMessageChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to accept a local (UNIX domain) datagram connection. |
|
protected IoFuture<ConnectedStreamChannel> |
XnioWorker.acceptLocalStream(LocalSocketAddress destination,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to accept a local (UNIX domain) stream connection. |
|
IoFuture<ConnectedStreamChannel> |
XnioWorker.acceptStream(SocketAddress destination,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Accept a stream connection at a destination address. |
|
protected IoFuture<ConnectedStreamChannel> |
XnioWorker.acceptTcpStream(InetSocketAddress destination,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to accept a TCP connection. |
|
|
AbstractIoFuture.addNotifier(IoFuture.Notifier<? super T,A> notifier,
A attachment)
Add a notifier to be called when this operation is complete. |
|
|
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)
|
|
IoFuture<T> |
FinishedIoFuture.cancel()
Cancel the operation. |
|
IoFuture<T> |
AbstractIoFuture.cancel()
Cancel an operation. |
|
IoFuture<T> |
IoFuture.cancel()
Cancel an operation. |
|
IoFuture<T> |
AbstractConvertingIoFuture.cancel()
|
|
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<ConnectedMessageChannel> |
XnioWorker.connectDatagram(SocketAddress destination,
ChannelListener<? super ConnectedMessageChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Connect to a remote stream server. |
|
IoFuture<ConnectedMessageChannel> |
XnioWorker.connectDatagram(SocketAddress bindAddress,
SocketAddress destination,
ChannelListener<? super ConnectedMessageChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Connect to a remote datagram server. |
|
protected IoFuture<ConnectedMessageChannel> |
XnioWorker.connectLocalDatagram(LocalSocketAddress bindAddress,
LocalSocketAddress destination,
ChannelListener<? super ConnectedMessageChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to connect to a local (UNIX domain) datagram server. |
|
protected IoFuture<ConnectedStreamChannel> |
XnioWorker.connectLocalStream(LocalSocketAddress bindAddress,
LocalSocketAddress destinationAddress,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to connect to a local (UNIX domain) server. |
|
IoFuture<ConnectedStreamChannel> |
XnioWorker.connectStream(SocketAddress destination,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Connect to a remote stream server. |
|
IoFuture<ConnectedStreamChannel> |
XnioWorker.connectStream(SocketAddress destination,
ChannelListener<? super ConnectedStreamChannel> openListener,
OptionMap optionMap)
Connect to a remote stream server. |
|
IoFuture<ConnectedStreamChannel> |
XnioWorker.connectStream(SocketAddress bindAddress,
SocketAddress destination,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Connect to a remote stream server. |
|
protected IoFuture<ConnectedStreamChannel> |
XnioWorker.connectTcpStream(InetSocketAddress bindAddress,
InetSocketAddress destinationAddress,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to connect to a TCP server. |
|
protected IoFuture<ConnectedMessageChannel> |
XnioWorker.connectUdpDatagram(InetSocketAddress bindAddress,
InetSocketAddress destination,
ChannelListener<? super ConnectedMessageChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to connect to a UDP server. |
|
protected IoFuture<? extends D> |
AbstractConvertingIoFuture.getDelegate()
|
|
IoFuture<T> |
FutureResult.getIoFuture()
Get the IoFuture for this manager. |
|
IoFuture<T> |
ChannelSource.open(ChannelListener<? super T> openListener)
Open a channel. |
|
| Methods in org.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.xnio with parameters of type IoFuture | |
|---|---|
AbstractConvertingIoFuture(IoFuture<? extends D> delegate)
|
|
| Uses of IoFuture in org.xnio.channels |
|---|
| Methods in org.xnio.channels that return IoFuture | |
|---|---|
IoFuture<? extends BoundChannel> |
BoundServerChannel.bind(SocketAddress address)
Add a binding. |
| Uses of IoFuture in org.xnio.ssl |
|---|
|
XNIO API 3.0.7.GA | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||