XNIO version 1.2.1.GA
A B C D E F G H I J K L M N O P R S T U V W X

A

AbstractConvertingIoFuture<T,D> - Class in org.jboss.xnio
An IoFuture implementation that wraps a different type of IoFuture.
AbstractConvertingIoFuture(IoFuture<? extends D>) - Constructor for class org.jboss.xnio.AbstractConvertingIoFuture
 
AbstractFutureConnection<A,T> - Class in org.jboss.xnio
Convenience abstract class for future connections.
AbstractFutureConnection() - Constructor for class org.jboss.xnio.AbstractFutureConnection
 
AbstractIoFuture<T> - Class in org.jboss.xnio
An abstract base class for IoFuture objects.
AbstractIoFuture() - Constructor for class org.jboss.xnio.AbstractIoFuture
Construct a new instance.
accept(IoHandler<? super T>) - Method in interface org.jboss.xnio.ChannelDestination
Accept a connection.
Acceptor<A,T extends Channel> - Interface in org.jboss.xnio
An acceptor.
AcceptorStats - Interface in org.jboss.xnio.management
Statistics for entities which accept connections.
acceptTo(A, IoHandler<? super T>) - Method in interface org.jboss.xnio.Acceptor
Accept a connection at a destination address.
addNotifier(IoFuture.Notifier<T, A>, A) - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
addNotifier(IoFuture.Notifier<T, A>, A) - Method in class org.jboss.xnio.AbstractIoFuture
Add a notifier to be called when this operation is complete.
addNotifier(IoFuture.Notifier<T, A>, A) - Method in interface org.jboss.xnio.IoFuture
Add a notifier to be called when this operation is complete.
allocate() - Method in interface org.jboss.xnio.BufferAllocator
Allocate a buffer.
AllocatedMessageChannel - Interface in org.jboss.xnio.channels
A channel that sends and receives whole messages.
attachmentClosingNotifier() - Static method in class org.jboss.xnio.IoUtils
Get a notifier that closes the attachment.
await() - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
await(long, TimeUnit) - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
await() - Method in class org.jboss.xnio.AbstractIoFuture
Wait for the operation to complete.
await(long, TimeUnit) - Method in class org.jboss.xnio.AbstractIoFuture
Wait for the operation to complete, with a timeout.
await() - Method in interface org.jboss.xnio.IoFuture
Wait for the operation to complete.
await(long, TimeUnit) - Method in interface org.jboss.xnio.IoFuture
Wait for the operation to complete, with a timeout.
awaitAll(IoFuture<?>...) - Static method in class org.jboss.xnio.IoUtils
 
awaitAllInterruptibly(IoFuture<?>...) - Static method in class org.jboss.xnio.IoUtils
 
awaitInterruptibly() - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
awaitInterruptibly(long, TimeUnit) - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
awaitInterruptibly() - Method in class org.jboss.xnio.AbstractIoFuture
Wait for the operation to complete.
awaitInterruptibly(long, TimeUnit) - Method in class org.jboss.xnio.AbstractIoFuture
Wait for the operation to complete, with a timeout.
awaitInterruptibly() - Method in interface org.jboss.xnio.IoFuture
Wait for the operation to complete.
awaitInterruptibly(long, TimeUnit) - Method in interface org.jboss.xnio.IoFuture
Wait for the operation to complete, with a timeout.
awaitReadable() - Method in interface org.jboss.xnio.channels.SuspendableReadChannel
Block until this channel becomes readable again.
awaitReadable(long, TimeUnit) - Method in interface org.jboss.xnio.channels.SuspendableReadChannel
Block until this channel becomes readable again, or until the timeout expires.
awaitWritable() - Method in interface org.jboss.xnio.channels.SuspendableWriteChannel
Block until this channel becomes writable again.
awaitWritable(long, TimeUnit) - Method in interface org.jboss.xnio.channels.SuspendableWriteChannel
Block until this channel becomes writable again, or until the timeout expires.
awaken(Thread) - Method in class org.jboss.xnio.nio.NioXnio
Wake up any blocking I/O operation being carried out on a given thread.
awaken(Thread) - Method in class org.jboss.xnio.Xnio
Wake up any blocking I/O operation being carried out on a given thread.

B

BACKLOG - Static variable in class org.jboss.xnio.channels.CommonOptions
Configure a server with the specified backlog.
bind(A) - Method in interface org.jboss.xnio.channels.BoundServer
Add a binding.
bind(SocketAddress) - Method in interface org.jboss.xnio.management.InetBindable
Bind the entity to a socket address.
bind(String, int) - Method in interface org.jboss.xnio.management.InetBindable
Bind the entity to a host and port.
block(InetAddress) - Method in interface org.jboss.xnio.channels.UdpChannel.Key
Block multicast packets from the given source address.
BoundChannel<A> - Interface in org.jboss.xnio.channels
A channel that is bound to a local address.
BoundServer<A,T extends BoundChannel<A>> - Interface in org.jboss.xnio.channels
A server that is bound to a local address.
BROADCAST - Static variable in class org.jboss.xnio.channels.CommonOptions
Enable broadcast support for IP datagram sockets.
BufferAllocator<T extends Buffer> - Interface in org.jboss.xnio
An allocator for buffers.
Buffers - Class in org.jboss.xnio
Buffer utility methods.

C

cancel() - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
cancel() - Method in class org.jboss.xnio.AbstractFutureConnection
Cancel an operation.
cancel() - Method in class org.jboss.xnio.AbstractIoFuture
Cancel an operation.
cancel() - Method in class org.jboss.xnio.FailedFutureConnection
Cancel the operation.
cancel() - Method in class org.jboss.xnio.FailedIoFuture
Cancel the operation.
cancel() - Method in class org.jboss.xnio.FinishedFutureConnection
Cancel the operation.
cancel() - Method in class org.jboss.xnio.FinishedIoFuture
Cancel the operation.
cancel() - Method in interface org.jboss.xnio.FutureConnection
Cancel an operation.
cancel() - Method in interface org.jboss.xnio.IoFuture
Cancel an operation.
channel - Variable in class org.jboss.xnio.channels.ChannelInputStream
 
channel - Variable in class org.jboss.xnio.channels.ChannelOutputStream
 
ChannelDestination<A,T extends Channel> - Interface in org.jboss.xnio
A channel destination.
ChannelInputStream - Class in org.jboss.xnio.channels
An input stream which reads from a stream source channel.
ChannelInputStream(StreamSourceChannel) - Constructor for class org.jboss.xnio.channels.ChannelInputStream
Construct a new instance.
ChannelOption<T> - Interface in org.jboss.xnio.channels
An option that may be applied to a channel.
ChannelOutputStream - Class in org.jboss.xnio.channels
An output stream which writes to a stream sink channel.
ChannelOutputStream(StreamSinkChannel) - Constructor for class org.jboss.xnio.channels.ChannelOutputStream
Construct a new instance.
Channels - Class in org.jboss.xnio.channels
A utility class containing static methods to convert from one channel type to another.
ChannelSource<T extends Channel> - Interface in org.jboss.xnio
A channel source.
ChannelStats - Interface in org.jboss.xnio.management
Statistics for entities which transfer bytes and messages.
clear(T) - Static method in class org.jboss.xnio.Buffers
Clear a buffer.
close() - Method in class org.jboss.xnio.channels.ChannelInputStream
close() - Method in class org.jboss.xnio.channels.ChannelOutputStream
close() - Method in interface org.jboss.xnio.management.ManagedCloseable
MBean operation to forcibly close a channel.
close() - Method in class org.jboss.xnio.nio.NioXnio
Close this XNIO provider.
close() - Method in class org.jboss.xnio.WeakCloseable
Closes this resource and releases any system resources associated with it.
close() - Method in class org.jboss.xnio.Xnio
Close this XNIO provider.
CLOSE_ABORT - Static variable in class org.jboss.xnio.channels.CommonOptions
Configure a TCP socket to send an RST packet on close.
CloseableChannelSource<T extends Channel> - Interface in org.jboss.xnio
A channel source that is closeable.
CloseableConnector<A,T extends ConnectedChannel<A>> - Interface in org.jboss.xnio
A connector that is closeable.
CloseableExecutor - Interface in org.jboss.xnio
An executor that can be closed.
closeableExecutor(ExecutorService, long, TimeUnit) - Static method in class org.jboss.xnio.IoUtils
Get a closeable executor wrapper for an ExecutorService.
CloseableTcpAcceptor - Interface in org.jboss.xnio
A TCP acceptor that is closeable.
CloseableTcpChannelDestination - Interface in org.jboss.xnio
A TCP channel destination that is closeable.
CloseableTcpChannelSource - Interface in org.jboss.xnio
A TCP channel source that is closeable.
CloseableTcpConnector - Interface in org.jboss.xnio
A TCP connector that is closeable.
closed - Variable in class org.jboss.xnio.channels.ChannelInputStream
 
closed - Variable in class org.jboss.xnio.channels.ChannelOutputStream
 
Closer - Class in org.jboss.xnio
A Runnable that closes some resource.
Closer(Closeable) - Constructor for class org.jboss.xnio.Closer
 
closingNotifier() - Static method in class org.jboss.xnio.IoUtils
Get a notifier that closes the result.
CommonOptions - Class in org.jboss.xnio.channels
Common channel options.
Configurable - Interface in org.jboss.xnio.channels
A channel that has parameters that may be configured while the channel is open.
ConfigurableFactory<T> - Interface in org.jboss.xnio
A factory which produces an instance based on a configuration.
ConnectedChannel<A> - Interface in org.jboss.xnio.channels
A channel that has a local and peer endpoint address.
ConnectedStreamChannel<A> - Interface in org.jboss.xnio.channels
A stream channel that is a connection between a local and remote endpoint.
ConnectionAddress<A> - Class in org.jboss.xnio
An immutable pair of addresses that define the two endpoints of a connection.
ConnectionAddress(A, A) - Constructor for class org.jboss.xnio.ConnectionAddress
Construct a new instance.
Connector<A,T extends Channel> - Interface in org.jboss.xnio
A connector.
connectTo(A, IoHandler<? super T>) - Method in interface org.jboss.xnio.Connector
Establish a connection to a destination.
connectTo(A, A, IoHandler<? super T>) - Method in interface org.jboss.xnio.Connector
Establish a connection to a destination using an explicit source.
connectTo(SocketAddress, IoHandler<? super TcpChannel>) - Method in interface org.jboss.xnio.TcpConnector
Establish a connection to a TCP server.
connectTo(SocketAddress, SocketAddress, IoHandler<? super TcpChannel>) - Method in interface org.jboss.xnio.TcpConnector
Establish a connection to a TCP server.
convert(D) - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
convertAllocatedMessageToStream(ChannelSource<? extends AllocatedMessageChannel>) - Static method in class org.jboss.xnio.channels.Channels
Create a channel source for a stream channel.
convertAllocatedMessageToStream(IoHandlerFactory<? super StreamChannel>) - Static method in class org.jboss.xnio.channels.Channels
Create a channel source for a stream channel.
convertStreamToAllocatedMessage(ChannelSource<? extends StreamChannel>, int, int) - Static method in class org.jboss.xnio.channels.Channels
Create a channel source for an allocated message channel.
convertStreamToAllocatedMessage(IoHandlerFactory<? super AllocatedMessageChannel>, int, int) - Static method in class org.jboss.xnio.channels.Channels
Create a handler factory for an allocated message channel.
create() - Method in interface org.jboss.xnio.ConfigurableFactory
Create the instance based on the configuration.
create(NioXnioConfiguration) - Static method in class org.jboss.xnio.nio.NioXnio
Create an NIO-based XNIO provider.
create() - Static method in class org.jboss.xnio.nio.NioXnio
Create an NIO-based XNIO provider.
create(int, int, int) - Static method in class org.jboss.xnio.nio.NioXnio
Create an NIO-based XNIO provider.
create(Executor, int, int, int) - Static method in class org.jboss.xnio.nio.NioXnio
Create an NIO-based XNIO provider.
create(Executor, ThreadFactory, int, int, int) - Static method in class org.jboss.xnio.nio.NioXnio
Create an NIO-based XNIO provider.
create() - Static method in class org.jboss.xnio.Xnio
Create an instance of the default XNIO provider.
createChannelDestination(A) - Method in interface org.jboss.xnio.Acceptor
Create a channel destination for this acceptor, which always uses a specific destination address.
createChannelDestination(SocketAddress) - Method in interface org.jboss.xnio.TcpAcceptor
Create a channel destination for this acceptor, which always uses a specific destination address.
createChannelSource(A) - Method in interface org.jboss.xnio.Connector
Create a client that always connects to the given destination.
createChannelSource(A, A) - Method in interface org.jboss.xnio.Connector
Create a client that always connects to the given destination using an explicit source.
createChannelSource(SocketAddress) - Method in interface org.jboss.xnio.TcpConnector
Create a client that always connects to the given TCP server.
createChannelSource(SocketAddress, SocketAddress) - Method in interface org.jboss.xnio.TcpConnector
Create a client that always connects to the given TCP server from the given source address.
createConnection(ChannelSource<T>, IoHandler<? super T>, Executor) - Static method in class org.jboss.xnio.IoUtils
Create a persistent connection using a channel source.
createDumper(ByteBuffer, int, int) - Static method in class org.jboss.xnio.Buffers
Create an object that returns the dumped form of the given byte buffer when its toString() method is called.
createDumper(CharBuffer, int, int) - Static method in class org.jboss.xnio.Buffers
Create an object that returns the dumped form of the given character buffer when its toString() method is called.
createHandler() - Method in interface org.jboss.xnio.IoHandlerFactory
Create a handler for a potential new channel.
createHeapByteBufferAllocator(int) - Static method in class org.jboss.xnio.Buffers
Create a heap-based buffer allocator.
createLocalDatagramConnector(Executor) - Method in class org.jboss.xnio.Xnio
Create a configurable local datagram connector.
createLocalDatagramConnector() - Method in class org.jboss.xnio.Xnio
Create a configurable local datagram connector.
createLocalDatagramServer(Executor, IoHandlerFactory<? super DatagramChannel<String>>) - Method in class org.jboss.xnio.Xnio
Create a local datagram server.
createLocalDatagramServer(IoHandlerFactory<? super DatagramChannel<String>>) - Method in class org.jboss.xnio.Xnio
Create a local datagram server.
createLocalStreamConnector(Executor) - Method in class org.jboss.xnio.Xnio
Create a configurable local stream connector.
createLocalStreamConnector() - Method in class org.jboss.xnio.Xnio
Create a configurable local stream connector.
createLocalStreamServer(Executor, IoHandlerFactory<? super ConnectedStreamChannel<String>>) - Method in class org.jboss.xnio.Xnio
Create a local stream server.
createLocalStreamServer(IoHandlerFactory<? super StreamChannel>) - Method in class org.jboss.xnio.Xnio
Create a local stream server.
createMergedHandler(IoHandler<? super T>, IoHandler<? super T>) - Static method in class org.jboss.xnio.channels.Channels
Create a handler that is a merged view of two separate handlers, one for read operations and one for write operations.
createMergedHandlerFactory(IoHandlerFactory<? super T>, IoHandlerFactory<? super T>) - Static method in class org.jboss.xnio.channels.Channels
Create a handler factory that is a merged view of two separate handler factories, one for read operations and one for write operations.
createOneWayPipeConnection(Executor, IoHandler<? super StreamSourceChannel>, IoHandler<? super StreamSinkChannel>) - Method in class org.jboss.xnio.nio.NioXnio
Create a single one-way pipe connection.
createOneWayPipeConnection(IoHandler<? super StreamSourceChannel>, IoHandler<? super StreamSinkChannel>) - Method in class org.jboss.xnio.nio.NioXnio
Create a single one-way pipe connection.
createOneWayPipeConnection(Executor, IoHandler<? super StreamSourceChannel>, IoHandler<? super StreamSinkChannel>) - Method in class org.jboss.xnio.Xnio
Create a single one-way pipe connection.
createOneWayPipeConnection(IoHandler<? super StreamSourceChannel>, IoHandler<? super StreamSinkChannel>) - Method in class org.jboss.xnio.Xnio
Create a single one-way pipe connection.
createOption(String, Class<T>) - Static method in class org.jboss.xnio.channels.PlainChannelOption
Convenience factory method.
createPipeConnection(Executor, IoHandler<? super StreamChannel>, IoHandler<? super StreamChannel>) - Method in class org.jboss.xnio.nio.NioXnio
Create a single pipe connection.
createPipeConnection(IoHandler<? super StreamChannel>, IoHandler<? super StreamChannel>) - Method in class org.jboss.xnio.nio.NioXnio
Create a single pipe connection.
createPipeConnection(Executor, IoHandler<? super StreamChannel>, IoHandler<? super StreamChannel>) - Method in class org.jboss.xnio.Xnio
Create a single pipe connection.
createPipeConnection(IoHandler<? super StreamChannel>, IoHandler<? super StreamChannel>) - Method in class org.jboss.xnio.Xnio
Create a single pipe connection.
createPipeServer(Executor, IoHandlerFactory<? super StreamChannel>) - Method in class org.jboss.xnio.nio.NioXnio
Create a pipe "server".
createPipeServer(IoHandlerFactory<? super StreamChannel>) - Method in class org.jboss.xnio.nio.NioXnio
Create a pipe "server".
createPipeServer(Executor, IoHandlerFactory<? super StreamChannel>) - Method in class org.jboss.xnio.Xnio
Create a pipe "server".
createPipeServer(IoHandlerFactory<? super StreamChannel>) - Method in class org.jboss.xnio.Xnio
Create a pipe "server".
createPipeSinkServer(Executor, IoHandlerFactory<? super StreamSourceChannel>) - Method in class org.jboss.xnio.nio.NioXnio
Create a one-way pipe "server".
createPipeSinkServer(IoHandlerFactory<? super StreamSourceChannel>) - Method in class org.jboss.xnio.nio.NioXnio
Create a one-way pipe "server".
createPipeSinkServer(Executor, IoHandlerFactory<? super StreamSourceChannel>) - Method in class org.jboss.xnio.Xnio
Create a one-way pipe "server".
createPipeSinkServer(IoHandlerFactory<? super StreamSourceChannel>) - Method in class org.jboss.xnio.Xnio
Create a one-way pipe "server".
createPipeSourceServer(Executor, IoHandlerFactory<? super StreamSinkChannel>) - Method in class org.jboss.xnio.nio.NioXnio
Create a one-way pipe "server".
createPipeSourceServer(IoHandlerFactory<? super StreamSinkChannel>) - Method in class org.jboss.xnio.nio.NioXnio
Create a one-way pipe "server".
createPipeSourceServer(Executor, IoHandlerFactory<? super StreamSinkChannel>) - Method in class org.jboss.xnio.Xnio
Create a one-way pipe "server".
createPipeSourceServer(IoHandlerFactory<? super StreamSinkChannel>) - Method in class org.jboss.xnio.Xnio
Create a one-way pipe "server".
createTcpAcceptor(Executor) - Method in class org.jboss.xnio.nio.NioXnio
Create a TCP acceptor.
createTcpAcceptor() - Method in class org.jboss.xnio.nio.NioXnio
Create a TCP acceptor.
createTcpAcceptor(Executor) - Method in class org.jboss.xnio.Xnio
Create a TCP acceptor.
createTcpAcceptor() - Method in class org.jboss.xnio.Xnio
Create a TCP acceptor.
createTcpConnector(Executor) - Method in class org.jboss.xnio.nio.NioXnio
Create a configurable TCP connector.
createTcpConnector() - Method in class org.jboss.xnio.nio.NioXnio
Create a configurable TCP connector.
createTcpConnector(Executor) - Method in class org.jboss.xnio.Xnio
Create a configurable TCP connector.
createTcpConnector() - Method in class org.jboss.xnio.Xnio
Create a configurable TCP connector.
createTcpServer(Executor, IoHandlerFactory<? super TcpChannel>, SocketAddress...) - Method in class org.jboss.xnio.nio.NioXnio
Create a TCP server.
createTcpServer(IoHandlerFactory<? super TcpChannel>, SocketAddress...) - Method in class org.jboss.xnio.nio.NioXnio
Create a TCP server.
createTcpServer(Executor, IoHandlerFactory<? super TcpChannel>, SocketAddress...) - Method in class org.jboss.xnio.Xnio
Create a TCP server.
createTcpServer(IoHandlerFactory<? super TcpChannel>, SocketAddress...) - Method in class org.jboss.xnio.Xnio
Create a TCP server.
createUdpServer(Executor, boolean, IoHandlerFactory<? super UdpChannel>, SocketAddress...) - Method in class org.jboss.xnio.nio.NioXnio
Create a UDP server.
createUdpServer(boolean, IoHandlerFactory<? super UdpChannel>, SocketAddress...) - Method in class org.jboss.xnio.nio.NioXnio
Create a UDP server.
createUdpServer(Executor, boolean, IoHandlerFactory<? super UdpChannel>, SocketAddress...) - Method in class org.jboss.xnio.Xnio
Create a UDP server.
createUdpServer(boolean, IoHandlerFactory<? super UdpChannel>, SocketAddress...) - Method in class org.jboss.xnio.Xnio
Create a UDP server.

D

DatagramChannel<A> - Interface in org.jboss.xnio.channels
A channel that sends and receives datagrams.
DEBUG - Static variable in class org.jboss.xnio.log.Logger
The DEBUG log level.
debug(String) - Method in class org.jboss.xnio.log.Logger
Log a message at debug level.
debug(Throwable, String, Object...) - Method in class org.jboss.xnio.log.Logger
Log a message at debug level with an exception.
debug(Throwable, String, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at debug level with an exception.
debug(Throwable, String, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at debug level with an exception.
debug(Throwable, String, Object, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at debug level with an exception.
debug(String, Object...) - Method in class org.jboss.xnio.log.Logger
Log a message at debug level.
debug(String, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at debug level.
debug(String, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at debug level.
debug(String, Object, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at debug level.
delayedExecutor(ScheduledExecutorService, long, TimeUnit) - Static method in class org.jboss.xnio.IoUtils
Create a delayed executor.
delegate - Variable in class org.jboss.xnio.AbstractConvertingIoFuture
The delegate future result.
DelegatingIoHandler<T extends Channel> - Class in org.jboss.xnio
A base delegating I/O handler.
DelegatingIoHandler() - Constructor for class org.jboss.xnio.DelegatingIoHandler
 
directExecutor() - Static method in class org.jboss.xnio.IoUtils
Get the direct executor.
dump(ByteBuffer, Appendable, int, int) - Static method in class org.jboss.xnio.Buffers
Dump a byte buffer to the given target.
dump(CharBuffer, Appendable, int, int) - Static method in class org.jboss.xnio.Buffers
Dump a character buffer to the given target.

E

equals(Object) - Method in interface org.jboss.xnio.channels.ChannelOption
Determine whether this channel option is equal to another.
equals(Object) - Method in class org.jboss.xnio.channels.PlainChannelOption
Check equality with another object.
ERROR - Static variable in class org.jboss.xnio.log.Logger
The ERROR log level.
error(String) - Method in class org.jboss.xnio.log.Logger
Log a message at error level.
error(Throwable, String, Object...) - Method in class org.jboss.xnio.log.Logger
Log a message at error level with an exception.
error(Throwable, String, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at error level with an exception.
error(Throwable, String, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at error level with an exception.
error(Throwable, String, Object, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at error level with an exception.
error(String, Object...) - Method in class org.jboss.xnio.log.Logger
Log a message at error level.
error(String, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at error level.
error(String, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at error level.
error(String, Object, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at error level.

F

FailedFutureConnection<A,T> - Class in org.jboss.xnio
An implementation of FutureConnection that represents an immediately-failed operation.
FailedFutureConnection(IOException, A) - Constructor for class org.jboss.xnio.FailedFutureConnection
Create an instance.
FailedIoFuture<T> - Class in org.jboss.xnio
An implementation of IoFuture that represents an immediately-failed operation.
FailedIoFuture(IOException) - Constructor for class org.jboss.xnio.FailedIoFuture
Create an instance.
fill(ByteBuffer, int, int) - Static method in class org.jboss.xnio.Buffers
Fill a buffer with a repeated value.
fill(CharBuffer, int, int) - Static method in class org.jboss.xnio.Buffers
Fill a buffer with a repeated value.
fill(ShortBuffer, int, int) - Static method in class org.jboss.xnio.Buffers
Fill a buffer with a repeated value.
fill(IntBuffer, int, int) - Static method in class org.jboss.xnio.Buffers
Fill a buffer with a repeated value.
fill(LongBuffer, long, int) - Static method in class org.jboss.xnio.Buffers
Fill a buffer with a repeated value.
finishCancel() - Method in class org.jboss.xnio.AbstractIoFuture
Acknowledge the cancellation of this operation.
FinishedFutureConnection<A,T extends BoundChannel<A>> - Class in org.jboss.xnio
An implementation of FutureConnection that represents an immediately-successful operation.
FinishedFutureConnection(T) - Constructor for class org.jboss.xnio.FinishedFutureConnection
Create an instance.
FinishedIoFuture<T> - Class in org.jboss.xnio
An implementation of IoFuture that represents an immediately-successful operation.
FinishedIoFuture(T) - Constructor for class org.jboss.xnio.FinishedIoFuture
Create an instance.
flip(T) - Static method in class org.jboss.xnio.Buffers
Flip a buffer.
free(T) - Method in interface org.jboss.xnio.BufferAllocator
Free a previously allocated buffer.
FutureConnection<A,T> - Interface in org.jboss.xnio
Represents the future outcome of an in-progress connection operation.

G

get() - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
get() - Method in class org.jboss.xnio.AbstractIoFuture
Get the result of the operation.
get() - Method in interface org.jboss.xnio.IoFuture
Get the result of the operation.
getAcceptedConnections() - Method in interface org.jboss.xnio.management.AcceptorStats
Get the total count of accepted connections.
getBindAddress() - Method in interface org.jboss.xnio.management.InetBound
Get the bind address.
getBoundChannels() - Method in interface org.jboss.xnio.management.UdpServerMBean
Get per-channel statistics.
getBoundListeners() - Method in interface org.jboss.xnio.management.TcpServerMBean
Get the currently bound listeners.
getBytesRead() - Method in interface org.jboss.xnio.management.ReadableChannelStats
Get the number of bytes read from this channel.
getBytesWritten() - Method in interface org.jboss.xnio.management.WritableChannelStats
Get the number of bytes written to this channel.
getChannel() - Method in interface org.jboss.xnio.channels.UdpChannel.Key
Return the channel associated with this key.
getChannels() - Method in interface org.jboss.xnio.channels.BoundServer
Get the channels representing the individual bound servers.
getConnectSelectorThreads() - Method in class org.jboss.xnio.nio.NioXnioConfiguration
Get the number of connect selector threads.
getDestinationAddress() - Method in interface org.jboss.xnio.channels.MultipointReadResult
Get the destination address of the message, if available.
getException() - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
getException() - Method in class org.jboss.xnio.AbstractIoFuture
Get the failure reason.
getException() - Method in interface org.jboss.xnio.IoFuture
Get the failure reason.
getExecutor() - Method in class org.jboss.xnio.nio.NioXnioConfiguration
Get the executor to use for handler execution.
getFuture(IoFuture<T>) - Static method in class org.jboss.xnio.IoUtils
Get a java.util.concurrent-style Future instance wrapper for an IoFuture instance.
getGroup() - Method in interface org.jboss.xnio.channels.UdpChannel.Key
Return the multicast group for which this key was created.
getInterruptibly() - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
getInterruptibly() - Method in class org.jboss.xnio.AbstractIoFuture
Get the result of the operation.
getInterruptibly() - Method in interface org.jboss.xnio.IoFuture
Get the result of the operation.
getLocalAddress() - Method in interface org.jboss.xnio.channels.BoundChannel
Get the local address that this channel is bound to.
getLocalAddress() - Method in class org.jboss.xnio.ConnectionAddress
Get the local address.
getLocalAddress() - Method in class org.jboss.xnio.FailedFutureConnection
The local address of the future channel.
getLocalAddress() - Method in class org.jboss.xnio.FinishedFutureConnection
The local address of the future channel.
getLocalAddress() - Method in interface org.jboss.xnio.FutureConnection
The local address of the future channel.
getLogger(String) - Static method in class org.jboss.xnio.log.Logger
Get a logger with the given name.
getLogger(Class) - Static method in class org.jboss.xnio.log.Logger
Get a logger whose name is the same as the fully qualified name of the given class.
getMBeanServers() - Method in class org.jboss.xnio.XnioConfiguration
Get the MBeanServers that the provider should register with.
getMessagesRead() - Method in interface org.jboss.xnio.management.ReadableChannelStats
Get the number of read operations performed on this channel.
getMessagesWritten() - Method in interface org.jboss.xnio.management.WritableChannelStats
Get the number of write operations performed on this channel.
getName() - Method in interface org.jboss.xnio.channels.ChannelOption
Get the name of this option.
getName() - Method in class org.jboss.xnio.channels.PlainChannelOption
Get the option name.
getName() - Method in class org.jboss.xnio.Xnio
Get the name of this XNIO instance.
getName() - Method in class org.jboss.xnio.XnioConfiguration
Get the common name of the XNIO provider instance.
getNetworkInterface() - Method in interface org.jboss.xnio.channels.UdpChannel.Key
Return the network interface for which this key was created.
getNotifierExecutor() - Method in class org.jboss.xnio.AbstractIoFuture
Get the executor used to run asynchronous notifiers.
getOption(ChannelOption<T>) - Method in interface org.jboss.xnio.channels.Configurable
Get the value of a channel option.
getOptions() - Method in interface org.jboss.xnio.channels.Configurable
Get the options that may be set on this channel.
getPeerAddress() - Method in interface org.jboss.xnio.channels.ConnectedChannel
Get the peer address of this channel.
getPeerAddress() - Method in interface org.jboss.xnio.management.InetConnected
Get the peer address.
getProperty(String) - Method in class org.jboss.xnio.Xnio
Get an XNIO property.
getProperty(String, String) - Method in class org.jboss.xnio.Xnio
Get an XNIO property.
getReadHandler() - Method in class org.jboss.xnio.DelegatingIoHandler
Get the read handler.
getReadSelectorThreads() - Method in class org.jboss.xnio.nio.NioXnioConfiguration
Get the number of read selector threads.
getRemoteAddress() - Method in class org.jboss.xnio.ConnectionAddress
Get the remote address.
getSelectorCacheSize() - Method in class org.jboss.xnio.nio.NioXnioConfiguration
Get the size of the selector cache used for blocking I/O operations.
getSelectorThreadFactory() - Method in class org.jboss.xnio.nio.NioXnioConfiguration
Get the thread factory to use for selector threads.
getSourceAddress() - Method in interface org.jboss.xnio.channels.MultipointReadResult
Get the source address of the message, if available.
getSourceAddress() - Method in interface org.jboss.xnio.channels.UdpChannel.Key
Return the srouce address if this membership key is source specific, or null if this membership is not source specific.
getStatus() - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
getStatus() - Method in class org.jboss.xnio.AbstractIoFuture
Get the current status.
getStatus() - Method in interface org.jboss.xnio.IoFuture
Get the current status.
getType() - Method in interface org.jboss.xnio.channels.ChannelOption
Get the concrete type of the value for this option.
getType() - Method in class org.jboss.xnio.channels.PlainChannelOption
Get option type.
getWriteHandler() - Method in class org.jboss.xnio.DelegatingIoHandler
Get the write handler.
getWriteSelectorThreads() - Method in class org.jboss.xnio.nio.NioXnioConfiguration
Get the number of write selector threads.

H

handleCancelled(A) - Method in class org.jboss.xnio.IoFuture.HandlingNotifier
Handle cancellation.
handleClosed(T) - Method in interface org.jboss.xnio.IoHandler
Handle channel close.
handleDone(T, A) - Method in class org.jboss.xnio.IoFuture.HandlingNotifier
Handle completion.
handleFailed(IOException, A) - Method in class org.jboss.xnio.IoFuture.HandlingNotifier
Handle failure.
handleOpened(T) - Method in interface org.jboss.xnio.IoHandler
Handle channel open.
handleReadable(T) - Method in class org.jboss.xnio.DelegatingIoHandler
Handles a readable notification by delegating it to the set read handler, if there is one; otherwise the notification is ignored.
handleReadable(T) - Method in interface org.jboss.xnio.IoReadHandler
Handle channel readability.
handleWritable(T) - Method in class org.jboss.xnio.DelegatingIoHandler
Handles a writable notification by delegating it to the set write handler, if there is one; otherwise the notification is ignored.
handleWritable(T) - Method in interface org.jboss.xnio.IoWriteHandler
Handle channel writability.
hashCode() - Method in interface org.jboss.xnio.channels.ChannelOption
The hash code for this option.
hashCode() - Method in class org.jboss.xnio.channels.PlainChannelOption
Calculate the hashCode.

I

InetBindable - Interface in org.jboss.xnio.management
A managed object which may be bound and unbound to a socket address.
InetBound - Interface in org.jboss.xnio.management
A managed object that is bound to a socket address.
InetConnected - Interface in org.jboss.xnio.management
A managed object that is connected to a socket address.
INFO - Static variable in class org.jboss.xnio.log.Logger
The INFO log level.
info(String) - Method in class org.jboss.xnio.log.Logger
Log a message at info level.
info(Throwable, String, Object...) - Method in class org.jboss.xnio.log.Logger
Log a message at info level with an exception.
info(Throwable, String, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at info level with an exception.
info(Throwable, String, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at info level with an exception.
info(Throwable, String, Object, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at info level with an exception.
info(String, Object...) - Method in class org.jboss.xnio.log.Logger
Log a message at info level.
info(String, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at info level.
info(String, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at info level.
info(String, Object, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at info level.
IoFuture<T> - Interface in org.jboss.xnio
The future result of an asynchronous request.
IoFuture.HandlingNotifier<T,A> - Class in org.jboss.xnio
A base notifier class that calls the designated handler method on notification.
IoFuture.HandlingNotifier() - Constructor for class org.jboss.xnio.IoFuture.HandlingNotifier
 
IoFuture.Notifier<T,A> - Interface in org.jboss.xnio
A notifier that handles changes in the status of an IoFuture.
IoFuture.Status - Enum in org.jboss.xnio
The current status of an asynchronous operation.
IoHandler<T extends Channel> - Interface in org.jboss.xnio
A channel I/O handler.
IoHandlerFactory<T extends Channel> - Interface in org.jboss.xnio
A factory for I/O handlers.
IoReadHandler<T extends Channel> - Interface in org.jboss.xnio
A handler for channel read events.
IoUtils - Class in org.jboss.xnio
General I/O utility methods.
IoWriteHandler<T extends Channel> - Interface in org.jboss.xnio
A handler for channel write events.
IP_TOS - Static variable in class org.jboss.xnio.channels.CommonOptions
Type of service for IP sockets.
IP_TRAFFIC_CLASS - Static variable in class org.jboss.xnio.channels.CommonOptions
Set the IP traffic class/type-of-service for the channel.
isOpen() - Method in interface org.jboss.xnio.channels.UdpChannel.Key
Determine if this membership is active.
isTrace() - Method in class org.jboss.xnio.log.Logger
Test to see if the logger would log trace messages.

J

join(InetAddress, NetworkInterface) - Method in interface org.jboss.xnio.channels.UdpChannel
Join a multicast group to begin receiving all datagrams sent to the group.
join(InetAddress, NetworkInterface, InetAddress) - Method in interface org.jboss.xnio.channels.UdpChannel
Join a multicast group to begin receiving all datagrams sent to the group from a given source address.

K

KEEP_ALIVE - Static variable in class org.jboss.xnio.channels.CommonOptions
Configure a channel to send a periodic heartbeat of some sort.

L

limit(T, int) - Static method in class org.jboss.xnio.Buffers
Set the buffer limit.
Logger - Class in org.jboss.xnio.log
A logger that may be used by XNIO applications.

M

main(String[]) - Static method in class org.jboss.xnio.Version
Print out the current XNIO version on System.out.
MANAGE_CONNECTIONS - Static variable in class org.jboss.xnio.channels.CommonOptions
Configure an acceptor to manage connections or to leave them unmanaged.
ManagedCloseable - Interface in org.jboss.xnio.management
A managed object which may be forcibly closed.
mark(T) - Static method in class org.jboss.xnio.Buffers
Set the buffer mark.
MessageChannel - Interface in org.jboss.xnio.channels
A channel that sends and receives whole messages.
MULTICAST_TTL - Static variable in class org.jboss.xnio.channels.CommonOptions
Set the multicast time-to-live field for datagram sockets.
MultipointDatagramChannel<A> - Interface in org.jboss.xnio.channels
A multipoint datagram channel.
MultipointMessageChannel<A> - Interface in org.jboss.xnio.channels
A point-to-multipoint message channel.
MultipointReadableMessageChannel<A> - Interface in org.jboss.xnio.channels
The readable side of a multipoint message channel.
MultipointReadResult<A> - Interface in org.jboss.xnio.channels
The result of a multipoint message read.
MultipointWritableMessageChannel<A> - Interface in org.jboss.xnio.channels
The writable side of a multipoint message channel.

N

NioXnio - Class in org.jboss.xnio.nio
An NIO-based XNIO provider for a standalone application.
NioXnioConfiguration - Class in org.jboss.xnio.nio
Configuration for the NIO XNIO provider.
NioXnioConfiguration() - Constructor for class org.jboss.xnio.nio.NioXnioConfiguration
 
notify(IoFuture<T>, A) - Method in class org.jboss.xnio.IoFuture.HandlingNotifier
Receive notification of the completion of an outstanding operation.
notify(IoFuture<T>, A) - Method in interface org.jboss.xnio.IoFuture.Notifier
Receive notification of the completion of an outstanding operation.
nullCloseable() - Static method in class org.jboss.xnio.IoUtils
Get the null closeable.
nullExecutor() - Static method in class org.jboss.xnio.IoUtils
Get the null executor.
nullHandler() - Static method in class org.jboss.xnio.IoUtils
Get the null handler.
nullHandlerFactory() - Static method in class org.jboss.xnio.IoUtils
Get the null handler factory.

O

OneWayPipeConnectionMBean - Interface in org.jboss.xnio.management
Statistics and management information for a one-way pipe connection.
open(IoHandler<? super T>) - Method in interface org.jboss.xnio.ChannelSource
Open a channel.
open(IoHandler<? super TcpChannel>) - Method in interface org.jboss.xnio.TcpChannelSource
Open a channel.
org.jboss.xnio - package org.jboss.xnio
The main API package for XNIO.
org.jboss.xnio.channels - package org.jboss.xnio.channels
Defines an enhanced set of channels.
org.jboss.xnio.log - package org.jboss.xnio.log
A trivial logging facade package that XNIO applications may use.
org.jboss.xnio.management - package org.jboss.xnio.management
The MBean interfaces that are used by XNIO providers.
org.jboss.xnio.nio - package org.jboss.xnio.nio
An NIO-based implementation of XNIO.

P

PipeConnectionMBean - Interface in org.jboss.xnio.management
Statistics and management information for a two-way pipe connection.
PipeServerMBean - Interface in org.jboss.xnio.management
Statistics and management information for a pipe server.
PipeSinkServerMBean - Interface in org.jboss.xnio.management
Statistics and management information for a one-way pipe server (sink end).
PipeSourceServerMBean - Interface in org.jboss.xnio.management
Statistics and management information for a one-way pipe server (source end).
PlainChannelOption<T> - Class in org.jboss.xnio.channels
A plain channel option implementation.
PlainChannelOption(String, Class<T>) - Constructor for class org.jboss.xnio.channels.PlainChannelOption
Basic constructor.
position(T, int) - Static method in class org.jboss.xnio.Buffers
Set the buffer position.

R

read() - Method in class org.jboss.xnio.channels.ChannelInputStream
read(byte[]) - Method in class org.jboss.xnio.channels.ChannelInputStream
read(byte[], int, int) - Method in class org.jboss.xnio.channels.ChannelInputStream
ReadableAllocatedMessageChannel - Interface in org.jboss.xnio.channels
A channel that can receive messages.
ReadableChannelStats - Interface in org.jboss.xnio.management
Statistics for entities which read bytes and messages.
ReadableMessageChannel - Interface in org.jboss.xnio.channels
A channel that can receive messages.
readBlocking(C, ByteBuffer) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking read on a readable byte channel.
readBlocking(C, ByteBuffer, long, TimeUnit) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking read on a readable byte channel with a timeout.
readBlocking(C, ByteBuffer[], int, int) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking read on a scattering byte channel.
readBlocking(C, ByteBuffer[], int, int, long, TimeUnit) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking read on a scattering byte channel with a timeout.
receive(ByteBuffer) - Method in interface org.jboss.xnio.channels.MultipointReadableMessageChannel
Receive a message via this channel.
receive() - Method in interface org.jboss.xnio.channels.ReadableAllocatedMessageChannel
Receive a message.
receive(ByteBuffer) - Method in interface org.jboss.xnio.channels.ReadableMessageChannel
Receive a message.
receive(ByteBuffer[]) - Method in interface org.jboss.xnio.channels.ReadableMessageChannel
Receive a message.
receive(ByteBuffer[], int, int) - Method in interface org.jboss.xnio.channels.ReadableMessageChannel
Receive a message.
RECEIVE_BUFFER - Static variable in class org.jboss.xnio.channels.CommonOptions
The receive buffer size.
receiveBlocking(C, ByteBuffer) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking receive on a readable message channel.
receiveBlocking(C, ByteBuffer, long, TimeUnit) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking receive on a readable message channel with a timeout.
receiveBlocking(C, ByteBuffer[], int, int) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking receive on a readable message channel.
receiveBlocking(C, ByteBuffer[], int, int, long, TimeUnit) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking receive on a readable message channel with a timeout.
registerMBean(TcpServerMBean) - Method in class org.jboss.xnio.nio.NioXnio
 
registerMBean(TcpConnectionMBean) - Method in class org.jboss.xnio.nio.NioXnio
 
registerMBean(UdpServerMBean) - Method in class org.jboss.xnio.nio.NioXnio
 
registerMBean(OneWayPipeConnectionMBean) - Method in class org.jboss.xnio.nio.NioXnio
 
registerMBean(PipeConnectionMBean) - Method in class org.jboss.xnio.nio.NioXnio
 
registerMBean(PipeServerMBean) - Method in class org.jboss.xnio.nio.NioXnio
 
registerMBean(PipeSourceServerMBean) - Method in class org.jboss.xnio.nio.NioXnio
 
registerMBean(PipeSinkServerMBean) - Method in class org.jboss.xnio.nio.NioXnio
 
registerMBean(TcpServerMBean) - Method in class org.jboss.xnio.Xnio
Register a TCP server MBean.
registerMBean(TcpConnectionMBean) - Method in class org.jboss.xnio.Xnio
Register a TCP connection MBean.
registerMBean(UdpServerMBean) - Method in class org.jboss.xnio.Xnio
Register a UDP server MBean.
registerMBean(OneWayPipeConnectionMBean) - Method in class org.jboss.xnio.Xnio
Register a one-way pipe connection MBean.
registerMBean(PipeConnectionMBean) - Method in class org.jboss.xnio.Xnio
Register a pipe connection MBean.
registerMBean(PipeServerMBean) - Method in class org.jboss.xnio.Xnio
Register a pipe server MBean.
registerMBean(PipeSourceServerMBean) - Method in class org.jboss.xnio.Xnio
Register a pipe source server MBean.
registerMBean(PipeSinkServerMBean) - Method in class org.jboss.xnio.Xnio
Register a pipe sink server MBean.
reset(T) - Static method in class org.jboss.xnio.Buffers
Reset the buffer.
resumeReads() - Method in interface org.jboss.xnio.channels.SuspendableReadChannel
Resume reads on this channel.
resumeWrites() - Method in interface org.jboss.xnio.channels.SuspendableWriteChannel
Resume writes on this channel.
REUSE_ADDRESSES - Static variable in class org.jboss.xnio.channels.CommonOptions
Configure an IP socket to reuse addresses.
rewind(T) - Static method in class org.jboss.xnio.Buffers
Rewind the buffer.
run() - Method in class org.jboss.xnio.Closer
 
runNotifier(Runnable) - Method in class org.jboss.xnio.AbstractIoFuture
Run a notifier.

S

safeClose(Closeable) - Static method in class org.jboss.xnio.IoUtils
Close a resource, logging an error if an error occurs.
safeClose(Socket) - Static method in class org.jboss.xnio.IoUtils
Close a resource, logging an error if an error occurs.
safeClose(DatagramSocket) - Static method in class org.jboss.xnio.IoUtils
Close a resource, logging an error if an error occurs.
safeClose(Selector) - Static method in class org.jboss.xnio.IoUtils
Close a resource, logging an error if an error occurs.
safeClose(ServerSocket) - Static method in class org.jboss.xnio.IoUtils
Close a resource, logging an error if an error occurs.
safeClose(ZipFile) - Static method in class org.jboss.xnio.IoUtils
Close a resource, logging an error if an error occurs.
safeClose(Handler) - Static method in class org.jboss.xnio.IoUtils
Close a resource, logging an error if an error occurs.
send(A, ByteBuffer) - Method in interface org.jboss.xnio.channels.MultipointWritableMessageChannel
Send a buffer to a destination.
send(A, ByteBuffer[]) - Method in interface org.jboss.xnio.channels.MultipointWritableMessageChannel
Send a message with data from multiple buffers to a destination.
send(A, ByteBuffer[], int, int) - Method in interface org.jboss.xnio.channels.MultipointWritableMessageChannel
Send a message with data from multiple buffers to a destination.
send(ByteBuffer) - Method in interface org.jboss.xnio.channels.WritableMessageChannel
Send a complete message.
send(ByteBuffer[]) - Method in interface org.jboss.xnio.channels.WritableMessageChannel
Send a complete message.
send(ByteBuffer[], int, int) - Method in interface org.jboss.xnio.channels.WritableMessageChannel
Send a complete message.
SEND_BUFFER - Static variable in class org.jboss.xnio.channels.CommonOptions
The send buffer size.
sendBlocking(C, ByteBuffer) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking send on a message channel.
sendBlocking(C, ByteBuffer, long, TimeUnit) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking send on a message channel with a timeout.
sendBlocking(C, ByteBuffer[], int, int) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking gathering send on a message channel.
sendBlocking(C, ByteBuffer[], int, int, long, TimeUnit) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking gathering send on a message channel with a timeout.
setConnectSelectorThreads(int) - Method in class org.jboss.xnio.nio.NioXnioConfiguration
Set the number of connect selector threads.
setException(IOException) - Method in class org.jboss.xnio.AbstractIoFuture
Set the exception for this operation.
setExecutor(Executor) - Method in class org.jboss.xnio.nio.NioXnioConfiguration
Set the executor to use for handler execution.
setMBeanServers(List<MBeanServer>) - Method in class org.jboss.xnio.XnioConfiguration
Set the MBeanServers that the provider should register with.
setName(String) - Method in class org.jboss.xnio.XnioConfiguration
Set the common name of the XNIO provider instance.
setOption(ChannelOption<T>, T) - Method in interface org.jboss.xnio.channels.Configurable
Set an option for this channel.
setReadHandler(IoReadHandler<T>) - Method in class org.jboss.xnio.DelegatingIoHandler
Set the read handler.
setReadSelectorThreads(int) - Method in class org.jboss.xnio.nio.NioXnioConfiguration
Set the number of read selector threads.
setResult(T) - Method in class org.jboss.xnio.AbstractIoFuture
Set the result for this operation.
setSelectorCacheSize(int) - Method in class org.jboss.xnio.nio.NioXnioConfiguration
Set the size of the selector cache used for blocking I/O operations.
setSelectorThreadFactory(ThreadFactory) - Method in class org.jboss.xnio.nio.NioXnioConfiguration
Set the thread factory to use for selector threads.
setWriteHandler(IoWriteHandler<T>) - Method in class org.jboss.xnio.DelegatingIoHandler
Set the write handler.
setWriteSelectorThreads(int) - Method in class org.jboss.xnio.nio.NioXnioConfiguration
Set the number of read selector threads.
shutdownReads() - Method in interface org.jboss.xnio.channels.SuspendableReadChannel
Places this readable channel at "end of stream".
shutdownWrites() - Method in interface org.jboss.xnio.channels.SuspendableWriteChannel
Indicate that writing is complete for this channel.
singletonHandlerFactory(IoHandler<T>) - Static method in class org.jboss.xnio.IoUtils
Get a singleton handler factory that returns the given handler one time only.
skip(T, int) - Static method in class org.jboss.xnio.Buffers
Set a buffer's position relative to its current position.
slice(ByteBuffer, int) - Static method in class org.jboss.xnio.Buffers
Slice the buffer.
slice(CharBuffer, int) - Static method in class org.jboss.xnio.Buffers
Slice the buffer.
slice(ShortBuffer, int) - Static method in class org.jboss.xnio.Buffers
Slice the buffer.
slice(IntBuffer, int) - Static method in class org.jboss.xnio.Buffers
Slice the buffer.
slice(LongBuffer, int) - Static method in class org.jboss.xnio.Buffers
Slice the buffer.
StreamChannel - Interface in org.jboss.xnio.channels
A stream channel.
StreamSinkChannel - Interface in org.jboss.xnio.channels
A stream sink channel.
StreamSourceChannel - Interface in org.jboss.xnio.channels
A stream source channel.
SuspendableChannel - Interface in org.jboss.xnio.channels
A suspendable bidirectional channel.
SuspendableReadChannel - Interface in org.jboss.xnio.channels
A suspendable readable channel.
SuspendableWriteChannel - Interface in org.jboss.xnio.channels
A suspendable writable channel.
suspendReads() - Method in interface org.jboss.xnio.channels.SuspendableReadChannel
Suspend further reads on this channel.
suspendWrites() - Method in interface org.jboss.xnio.channels.SuspendableWriteChannel
Suspend further writes on this channel.

T

TCP_NODELAY - Static variable in class org.jboss.xnio.channels.CommonOptions
Configure a TCP socket to disable Nagle's algorithm.
TCP_OOB_INLINE - Static variable in class org.jboss.xnio.channels.CommonOptions
Configure a TCP socket to receive out-of-band data alongside regular data.
TcpAcceptor - Interface in org.jboss.xnio
An acceptor specifically for accepting connections from a TCP client.
TcpChannel - Interface in org.jboss.xnio.channels
A TCP channel.
TcpChannelDestination - Interface in org.jboss.xnio
A channel destination specifically for accepting TCP connections from remote clients.
TcpChannelSource - Interface in org.jboss.xnio
A channel source specifically for connecting to TCP remote servers.
TcpConnectionMBean - Interface in org.jboss.xnio.management
Statistics and management information for a TCP connection.
TcpConnector - Interface in org.jboss.xnio
A connector specifically for connecting to TCP servers.
TcpServerMBean - Interface in org.jboss.xnio.management
Statistics and management information for a TCP server.
TcpServerMBean.Listener - Interface in org.jboss.xnio.management
Statistics and management information for a currently bound listener on a managed TCP server.
toString() - Method in interface org.jboss.xnio.channels.ChannelOption
Return a human-readable string form of this option.
toString() - Method in class org.jboss.xnio.channels.PlainChannelOption
Get a simple string representation of this option.
toString() - Method in class org.jboss.xnio.nio.NioXnio
 
toString() - Method in class org.jboss.xnio.Xnio
Get a string representation of this XNIO instance.
TRACE - Static variable in class org.jboss.xnio.log.Logger
The TRACE log level.
trace(String) - Method in class org.jboss.xnio.log.Logger
Log a message at trace level.
trace(Throwable, String, Object...) - Method in class org.jboss.xnio.log.Logger
Log a message at trace level with an exception.
trace(Throwable, String, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at trace level with an exception.
trace(Throwable, String, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at trace level with an exception.
trace(Throwable, String, Object, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at trace level with an exception.
trace(String, Object...) - Method in class org.jboss.xnio.log.Logger
Log a message at trace level.
trace(String, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at trace level.
trace(String, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at trace level.
trace(String, Object, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at trace level.

U

UdpChannel - Interface in org.jboss.xnio.channels
A UDP channel.
UdpChannel.Key - Interface in org.jboss.xnio.channels
A registration key for a multicast group.
UdpServerMBean - Interface in org.jboss.xnio.management
Statistics and management information for a UDP server.
UdpServerMBean.Channel - Interface in org.jboss.xnio.management
Statistics and management information for a specific UDP server channel.
unbind(SocketAddress) - Method in interface org.jboss.xnio.management.InetBindable
Unbind the entity from a socket address.
unbind(String, int) - Method in interface org.jboss.xnio.management.InetBindable
Unbind the entity from a host and port.
unblock(InetAddress) - Method in interface org.jboss.xnio.channels.UdpChannel.Key
Unblock multicast packets from the given source address that was previously blocked using the UdpChannel.Key.block(java.net.InetAddress) method.
UnsupportedOptionException - Exception in org.jboss.xnio.channels
An exception that is thrown when an invalid option is specified for a Configurable.
UnsupportedOptionException() - Constructor for exception org.jboss.xnio.channels.UnsupportedOptionException
Construct a UnsupportedOptionException instance.
UnsupportedOptionException(String) - Constructor for exception org.jboss.xnio.channels.UnsupportedOptionException
Construct a UnsupportedOptionException instance with the given message.
UnsupportedOptionException(String, Throwable) - Constructor for exception org.jboss.xnio.channels.UnsupportedOptionException
Construct a UnsupportedOptionException instance with the given message and cause.
UnsupportedOptionException(Throwable) - Constructor for exception org.jboss.xnio.channels.UnsupportedOptionException
Construct a UnsupportedOptionException instance with the given cause.

V

valueOf(String) - Method in interface org.jboss.xnio.channels.ChannelOption
Get the value of the given string as the value type of this channel option, if possible.
valueOf(String) - Method in class org.jboss.xnio.channels.PlainChannelOption
Get the value of the given string as the value type of this channel option, if possible.
valueOf(String) - Static method in enum org.jboss.xnio.IoFuture.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jboss.xnio.IoFuture.Status
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Class in org.jboss.xnio
The version class.
VERSION - Static variable in class org.jboss.xnio.Version
The current XNIO version.

W

WARN - Static variable in class org.jboss.xnio.log.Logger
The WARN log level.
warn(String) - Method in class org.jboss.xnio.log.Logger
Log a message at warn level.
warn(Throwable, String, Object...) - Method in class org.jboss.xnio.log.Logger
Log a message at warn level with an exception.
warn(Throwable, String, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at warn level with an exception.
warn(Throwable, String, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at warn level with an exception.
warn(Throwable, String, Object, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at warn level with an exception.
warn(String, Object...) - Method in class org.jboss.xnio.log.Logger
Log a message at warn level.
warn(String, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at warn level.
warn(String, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at warn level.
warn(String, Object, Object, Object) - Method in class org.jboss.xnio.log.Logger
Log a message at warn level.
WeakCloseable - Class in org.jboss.xnio
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.
WeakCloseable(WeakReference<Closeable>) - Constructor for class org.jboss.xnio.WeakCloseable
Construct a new instance.
WeakCloseable(Closeable) - Constructor for class org.jboss.xnio.WeakCloseable
Construct a new instance.
WritableChannelStats - Interface in org.jboss.xnio.management
Statistics for entities which write bytes and messages.
WritableMessageChannel - Interface in org.jboss.xnio.channels
A channel that can send messages.
write(int) - Method in class org.jboss.xnio.channels.ChannelOutputStream
write(byte[]) - Method in class org.jboss.xnio.channels.ChannelOutputStream
write(byte[], int, int) - Method in class org.jboss.xnio.channels.ChannelOutputStream
writeBlocking(C, ByteBuffer) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking write on a byte channel.
writeBlocking(C, ByteBuffer, long, TimeUnit) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking write on a byte channel with a timeout.
writeBlocking(C, ByteBuffer[], int, int) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking write on a gathering byte channel.
writeBlocking(C, ByteBuffer[], int, int, long, TimeUnit) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking write on a gathering byte channel with a timeout.

X

Xnio - Class in org.jboss.xnio
The XNIO entry point class.
Xnio(XnioConfiguration) - Constructor for class org.jboss.xnio.Xnio
Construct an XNIO provider instance.
XnioConfiguration - Class in org.jboss.xnio
An abstract configuration for an XNIO provider.
XnioConfiguration() - Constructor for class org.jboss.xnio.XnioConfiguration
Construct an uninitialized instance.

A B C D E F G H I J K L M N O P R S T U V W X
XNIO version 1.2.1.GA

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