XNIO API 2.1.0.CR2

Package org.jboss.xnio

The main API package for XNIO.

See:
          Description


Interface Summary
AcceptingServer<A,T extends BoundChannel<A>,C extends ConnectedChannel<A>> A server which accepts connections.
Acceptor<A,T extends Channel> An acceptor.
Cancellable An operation which may be cancelled.
ChannelDestination<A,T extends Channel> A channel destination.
ChannelListener<T extends Channel> A listener for channel events.
ChannelListener.Setter<T extends Channel> A setter for a channel listener.
ChannelSource<T extends Channel> A channel source.
CloseableExecutor An executor that can be closed.
Connector<A,T extends Channel> A connector.
IoFuture<T> The future result of an asynchronous request.
IoFuture.Notifier<T,A> A notifier that handles changes in the status of an IoFuture.
LocalDatagramConnector A local datagram connector convenience interface.
LocalServer A local (UNIX domain) server convenience interface.
LocalStreamConnector A local stream connector convenience interface.
Pool<T> A generic pooled resource manager.
Result<T> A handler for the result of an operation.
SslTcpConnector  
SslTcpServer An SSL TCP server convenience interface.
TcpAcceptor An acceptor specifically for accepting connections from a TCP client.
TcpChannelDestination A channel destination specifically for accepting TCP connections from remote clients.
TcpChannelSource A channel source specifically for connecting to TCP remote servers.
TcpConnector A connector specifically for connecting to TCP servers.
TcpServer A TCP server convenience interface.
UdpServer A UDP server convenience interface.
XnioProvider A descriptor for automatically-discovered XNIO provider type.
 

Class Summary
AbstractConvertingIoFuture<T,D> An IoFuture implementation that wraps a different type of IoFuture.
AbstractIoFuture<T> An abstract base class for IoFuture objects.
Buffers Buffer utility methods.
ByteString An immutable string of bytes.
Closer A Runnable that closes some resource.
FailedIoFuture<T> An implementation of IoFuture that represents an immediately-failed operation.
FinishedIoFuture<T> An implementation of IoFuture that represents an immediately-successful operation.
FutureResult<T> A result with a corresponding IoFuture instance.
IoFuture.HandlingNotifier<T,A> A base notifier class that calls the designated handler method on notification.
IoUtils General I/O utility methods.
Option<T> A strongly-typed option to configure an aspect of a service or connection.
Option.SetBuilder A builder for an immutable option set.
OptionMap An immutable map of options to option values.
OptionMap.Builder A builder for immutable option maps.
Options Common channel options.
Sequence<T> An immutable sequence of elements.
TranslatingResult<T,O> Abstract base class for Results which translate from one type to another.
Version The version class.
WeakCloseable A Closeable that holds a weak reference to another Closeable, which can be used to close the other without creating a strong reference to it.
Xnio The XNIO entry point class.
XnioConfiguration A configuration for an XNIO provider.
 

Enum Summary
IoFuture.Status The current status of an asynchronous operation.
SaslQop The SASL quality-of-protection value.
SaslStrength The SASL cipher strength value.
SslClientAuthMode The desired SSL client authentication mode for SSL channels in server mode.
 

Package org.jboss.xnio Description

The main API package for XNIO. In addition to interfaces that are used and implemented by users of XNIO, this package contains several utility classes which, while not required to write an XNIO application, simplify boilerplate tasks associated with low-level I/O operations.


XNIO API 2.1.0.CR2

Copyright © 2010 JBoss, a division of Red Hat, Inc.