XNIO API 2.0.0.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
 
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(ChannelListener<? super T>, ChannelListener<? super BoundChannel<A>>) - Method in interface org.jboss.xnio.ChannelDestination
Accept a connection.
AcceptingServer<A,T extends BoundChannel<A>,C extends ConnectedChannel<A>> - Interface in org.jboss.xnio
A server which accepts connections.
Acceptor<A,T extends java.nio.channels.Channel> - Interface in org.jboss.xnio
An acceptor.
AcceptorStats - Interface in org.jboss.xnio.management
Statistics for entities which accept connections.
acceptTo(A, ChannelListener<? super T>, ChannelListener<? super BoundChannel<A>>) - Method in interface org.jboss.xnio.Acceptor
Accept a connection at a destination address.
add(Option<?>) - Method in class org.jboss.xnio.Option.SetBuilder
Add an option to this set.
add(Map<?, ?>) - Method in class org.jboss.xnio.OptionMap.Builder
Add all the entries of a map.
addAll(Collection<Option<?>>) - Method in class org.jboss.xnio.Option.SetBuilder
Add all options from a collection to this set.
addAll(OptionMap) - Method in class org.jboss.xnio.OptionMap.Builder
Add all entries from an existing option map to the one being built.
addCancelHandler(Cancellable) - Method in class org.jboss.xnio.AbstractIoFuture
Add a cancellation handler.
addCancelHandler(Cancellable) - Method in class org.jboss.xnio.FutureResult
Add a cancellation handler.
addNotifier(IoFuture.Notifier<? super T, A>, A) - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
addNotifier(IoFuture.Notifier<? super T, A>, A) - Method in class org.jboss.xnio.AbstractIoFuture
Add a notifier to be called when this operation is complete.
addNotifier(IoFuture.Notifier<? super 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.Pool
Allocate a resource from the pool, or null if none are available.
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
Wait for all the futures to complete.
awaitAllInterruptibly(IoFuture<?>...) - Static method in class org.jboss.xnio.IoUtils
Wait for all the futures to complete.
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.Xnio
Wake up any blocking I/O operation being carried out on a given thread.

B

BACKLOG - Static variable in class org.jboss.xnio.Options
Configure a server with the specified backlog.
bind(A) - Method in interface org.jboss.xnio.channels.BoundServer
Add a binding.
bind(InetSocketAddress) - 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.
BlockingByteChannel - Class in org.jboss.xnio.channels
A blocking wrapper for a StreamChannel.
BlockingByteChannel(StreamChannel) - Constructor for class org.jboss.xnio.channels.BlockingByteChannel
Construct a new instance.
BlockingReadableByteChannel - Class in org.jboss.xnio.channels
A blocking wrapper for a StreamSourceChannel.
BlockingReadableByteChannel(StreamSourceChannel) - Constructor for class org.jboss.xnio.channels.BlockingReadableByteChannel
Construct a new instance.
BlockingWritableByteChannel - Class in org.jboss.xnio.channels
A blocking wrapper for a StreamChannel.
BlockingWritableByteChannel(StreamSinkChannel) - Constructor for class org.jboss.xnio.channels.BlockingWritableByteChannel
Construct a new instance.
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, and which may accept connections.
BROADCAST - Static variable in class org.jboss.xnio.Options
Enable broadcast support for IP datagram sockets.
Buffers - Class in org.jboss.xnio
Buffer utility methods.
builder() - Static method in class org.jboss.xnio.OptionMap
Create a new builder.
ByteString - Class in org.jboss.xnio
An immutable string of bytes.

C

cancel() - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
cancel() - Method in class org.jboss.xnio.AbstractIoFuture
Cancel an operation.
cancel() - Method in interface org.jboss.xnio.Cancellable
Cancel an operation.
cancel() - Method in class org.jboss.xnio.FailedIoFuture
Cancel the operation.
cancel() - Method in class org.jboss.xnio.FinishedIoFuture
Cancel the operation.
cancel() - Method in interface org.jboss.xnio.IoFuture
Cancel an operation.
Cancellable - Interface in org.jboss.xnio
An operation which may be cancelled.
cast(IoFuture<I>, Class<O>) - Static method in class org.jboss.xnio.IoUtils
Create an IoFuture which wraps another IoFuture, but returns a different type.
cast(Object) - Method in class org.jboss.xnio.Option
Return the given object as the type of this option.
cast(Class<N>) - Method in class org.jboss.xnio.Sequence
Cast a sequence to a different type if all the contained elements are of the subtype.
channel - Variable in class org.jboss.xnio.channels.ChannelInputStream
 
channel - Variable in class org.jboss.xnio.channels.ChannelOutputStream
 
ChannelDestination<A,T extends java.nio.channels.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.
ChannelListener<T extends java.nio.channels.Channel> - Interface in org.jboss.xnio
A listener for channel events.
ChannelListener.Setter<T extends java.nio.channels.Channel> - Interface in org.jboss.xnio
A setter for a channel listener.
channelListenerNotifier() - Static method in class org.jboss.xnio.IoUtils
Get the notifier that invokes the channel listener given as an attachment.
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 support channel usage.
ChannelSource<T extends java.nio.channels.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.BlockingByteChannel
close() - Method in class org.jboss.xnio.channels.BlockingReadableByteChannel
close() - Method in class org.jboss.xnio.channels.BlockingWritableByteChannel
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.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.Options
Configure a TCP socket to send an RST packet on close.
CloseableChannel - Interface in org.jboss.xnio.channels
A channel which is closable.
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.
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
 
closingCancellable(Closeable) - Static method in class org.jboss.xnio.IoUtils
A cancellable which closes the given resource on cancel.
closingChannelListener() - Static method in class org.jboss.xnio.IoUtils
Get a channel listener which closes the channel when notified.
closingNotifier() - Static method in class org.jboss.xnio.IoUtils
Get a notifier that closes the result.
compareTo(ByteString) - Method in class org.jboss.xnio.ByteString
Compare this ByteString to another.
Configurable - Interface in org.jboss.xnio.channels
A channel that has parameters that may be configured while the channel is open.
CONNECT_THREADS - Static variable in class org.jboss.xnio.Options
The number of connect threads to create.
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.
Connector<A,T extends java.nio.channels.Channel> - Interface in org.jboss.xnio
A connector.
connectTo(A, ChannelListener<? super T>, ChannelListener<? super BoundChannel<A>>) - Method in interface org.jboss.xnio.Connector
Establish a connection to a destination.
connectTo(InetSocketAddress, ChannelListener<? super TcpChannel>, ChannelListener<? super BoundChannel<InetSocketAddress>>) - Method in interface org.jboss.xnio.TcpConnector
Establish a connection to a TCP server.
contains(Option<?>) - Method in class org.jboss.xnio.OptionMap
Determine whether this option map contains the given option.
convert(D) - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
copyOf(byte[], int, int) - Static method in class org.jboss.xnio.ByteString
Create a byte string from the given array segment.
create() - Method in class org.jboss.xnio.Option.SetBuilder
Create the immutable option set instance.
create() - Static method in class org.jboss.xnio.Xnio
Create an instance of the default XNIO provider.
create(XnioConfiguration) - Static method in class org.jboss.xnio.Xnio
Create an instance of the default XNIO provider.
create(String, XnioConfiguration) - Static method in class org.jboss.xnio.Xnio
Create an instance of the named 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(InetSocketAddress) - 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(InetSocketAddress) - Method in interface org.jboss.xnio.TcpConnector
Create a client that always connects to the given TCP server.
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.
createHeapByteBufferAllocator(int) - Static method in class org.jboss.xnio.Buffers
Create a heap-based buffer allocator.
createLocalDatagramConnector(Executor, OptionMap) - Method in class org.jboss.xnio.Xnio
Create a local datagram connector.
createLocalDatagramConnector(OptionMap) - Method in class org.jboss.xnio.Xnio
Create a local datagram connector.
createLocalDatagramServer(Executor, ChannelListener<? super DatagramChannel<String>>, OptionMap) - Method in class org.jboss.xnio.Xnio
Create a local datagram server.
createLocalDatagramServer(ChannelListener<? super DatagramChannel<String>>, OptionMap) - Method in class org.jboss.xnio.Xnio
Create a local datagram server.
createLocalStreamConnector(Executor, OptionMap) - Method in class org.jboss.xnio.Xnio
Create a local stream connector.
createLocalStreamConnector(OptionMap) - Method in class org.jboss.xnio.Xnio
Create a local stream connector.
createLocalStreamServer(Executor, ChannelListener<? super ConnectedStreamChannel<String>>, OptionMap) - Method in class org.jboss.xnio.Xnio
Create a local stream server.
createLocalStreamServer(ChannelListener<? super ConnectedStreamChannel<String>>, OptionMap) - Method in class org.jboss.xnio.Xnio
Create a local stream server.
createManagedSocketFactory(OptionMap) - Method in class org.jboss.xnio.Xnio
Create a managed socket factory which uses this provider's MBean configuration to track management information.
createMessageReader(StreamSourceChannel, OptionMap) - Static method in class org.jboss.xnio.channels.Channels
Create and install a stream channel listener which unwraps messages and passes them to a handler.
createMessageWriter(StreamSinkChannel, OptionMap) - Static method in class org.jboss.xnio.channels.Channels
Create a writable message channel which wraps a stream sink channel using a simple length-body protocol.
createOneWayPipeConnection(Executor, ChannelListener<? super StreamSourceChannel>, ChannelListener<? super StreamSinkChannel>) - Method in class org.jboss.xnio.Xnio
Create a single one-way pipe connection.
createOneWayPipeConnection(ChannelListener<? super StreamSourceChannel>, ChannelListener<? super StreamSinkChannel>) - Method in class org.jboss.xnio.Xnio
Create a single one-way pipe connection.
createPipeConnection(Executor, ChannelListener<? super StreamChannel>, ChannelListener<? super StreamChannel>) - Method in class org.jboss.xnio.Xnio
Create a single pipe connection.
createPipeConnection(ChannelListener<? super StreamChannel>, ChannelListener<? super StreamChannel>) - Method in class org.jboss.xnio.Xnio
Create a single pipe connection.
createPipeServer(Executor, ChannelListener<? super StreamChannel>) - Method in class org.jboss.xnio.Xnio
Create a pipe "server".
createPipeServer(ChannelListener<? super StreamChannel>) - Method in class org.jboss.xnio.Xnio
Create a pipe "server".
createPipeSinkServer(Executor, ChannelListener<? super StreamSourceChannel>) - Method in class org.jboss.xnio.Xnio
Create a one-way pipe "server".
createPipeSinkServer(ChannelListener<? super StreamSourceChannel>) - Method in class org.jboss.xnio.Xnio
Create a one-way pipe "server".
createPipeSourceServer(Executor, ChannelListener<? super StreamSinkChannel>) - Method in class org.jboss.xnio.Xnio
Create a one-way pipe "server".
createPipeSourceServer(ChannelListener<? super StreamSinkChannel>) - Method in class org.jboss.xnio.Xnio
Create a one-way pipe "server".
createServerSocketFactory(OptionMap) - Method in class org.jboss.xnio.Xnio
Create a managed server socket factory which uses this provider's MBean configuration to track management information.
createSslTcpChannel(SSLContext, TcpChannel, Executor, OptionMap) - Static method in class org.jboss.xnio.channels.Channels
Create a SSL/TLS-enabled channel over a TCP channel.
createSslTcpChannelListener(SSLContext, ChannelListener<? super SslTcpChannel>, Executor, OptionMap) - Static method in class org.jboss.xnio.channels.Channels
Create a channel lister which wraps the incoming connection with an SSL connection.
createTcpAcceptor(Executor, OptionMap) - Method in class org.jboss.xnio.Xnio
Create a TCP acceptor.
createTcpAcceptor(OptionMap) - Method in class org.jboss.xnio.Xnio
Create a TCP acceptor.
createTcpConnector(Executor, OptionMap) - Method in class org.jboss.xnio.Xnio
Create a TCP connector.
createTcpConnector(OptionMap) - Method in class org.jboss.xnio.Xnio
Create a TCP connector.
createTcpConnector(Executor, InetSocketAddress, OptionMap) - Method in class org.jboss.xnio.Xnio
Create a TCP connector.
createTcpConnector(InetSocketAddress, OptionMap) - Method in class org.jboss.xnio.Xnio
Create a TCP connector.
createTcpServer(Executor, ChannelListener<? super TcpChannel>, OptionMap) - Method in class org.jboss.xnio.Xnio
Create an unbound TCP server.
createTcpServer(ChannelListener<? super TcpChannel>, OptionMap) - Method in class org.jboss.xnio.Xnio
Create an unbound TCP server.
createUdpServer(Executor, ChannelListener<? super UdpChannel>, OptionMap) - Method in class org.jboss.xnio.Xnio
Create an unbound UDP server.
createUdpServer(ChannelListener<? super UdpChannel>, OptionMap) - Method in class org.jboss.xnio.Xnio
Create an unbound UDP server.
createUdpServer(OptionMap) - Method in class org.jboss.xnio.Xnio
Create an unbound 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.
delegate - Variable in class org.jboss.xnio.AbstractConvertingIoFuture
The delegate future result.
directExecutor() - Static method in class org.jboss.xnio.IoUtils
Get the direct executor.
discard(T) - Method in interface org.jboss.xnio.Pool
Discard a "damaged" resource.
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

EMPTY - Static variable in interface org.jboss.xnio.channels.ReadableAllocatedMessageChannel
The special marker indicating an empty message.
EMPTY - Static variable in class org.jboss.xnio.OptionMap
The empty option map.
empty() - Static method in class org.jboss.xnio.Sequence
Return an empty sequence.
EMPTY_BYTE_BUFFER - Static variable in class org.jboss.xnio.Buffers
The empty byte buffer.
EOF - Static variable in interface org.jboss.xnio.channels.ReadableAllocatedMessageChannel
The special marker for end-of-file.
equals(Object) - Method in class org.jboss.xnio.ByteString
Determine if this ByteString equals another ByteString.
equals(ByteString) - Method in class org.jboss.xnio.ByteString
Determine if this ByteString equals another ByteString.
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

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.
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.
flush() - Method in class org.jboss.xnio.channels.BlockingWritableByteChannel
flush() - Method in class org.jboss.xnio.channels.ChannelOutputStream
flush() - Method in interface org.jboss.xnio.channels.SuspendableWriteChannel
Flush any waiting partial send or write.
flushBlocking(SuspendableWriteChannel) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking flush on a writable channel.
free(T) - Method in interface org.jboss.xnio.Pool
Free a pooled resource.
fromString(String, ClassLoader) - Static method in class org.jboss.xnio.Option
Get an option from a string name, using the given classloader.
FutureResult<T> - Class in org.jboss.xnio
A result with a corresponding IoFuture instance.
FutureResult(Executor) - Constructor for class org.jboss.xnio.FutureResult
Construct a new instance.
FutureResult() - Constructor for class org.jboss.xnio.FutureResult
Construct a new instance.

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.
get(Option<T>) - Method in class org.jboss.xnio.OptionMap
Get the value of an option from this option map.
get(Option<Boolean>, boolean) - Method in class org.jboss.xnio.OptionMap
Get a boolean value from this option map, with a specified default if the value is missing.
get(Option<Integer>, int) - Method in class org.jboss.xnio.OptionMap
Get a int value from this option map, with a specified default if the value is missing.
get(int) - Method in class org.jboss.xnio.Sequence
Get the value at a certain index.
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.
getBindSetter() - Method in interface org.jboss.xnio.AcceptingServer
Get the bind handler setter for this channel.
getBindSetter() - Method in interface org.jboss.xnio.channels.BoundServer
Get the bind handler setter for this channel.
getBindSetter() - Method in interface org.jboss.xnio.LocalServer
Get the bind handler setter for this channel.
getBindSetter() - Method in interface org.jboss.xnio.TcpServer
Get the bind handler setter for this channel.
getBindSetter() - Method in interface org.jboss.xnio.UdpServer
Get the bind handler setter for this channel.
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.
getBytes(String, String) - Static method in class org.jboss.xnio.ByteString
Get a byte string from the bytes of a charater string.
getBytes(String, Charset) - Static method in class org.jboss.xnio.ByteString
Get a byte string from the bytes of a charater string.
getBytes(ByteBuffer) - Static method in class org.jboss.xnio.ByteString
Get a byte string from all remaining bytes of a ByteBuffer.
getBytes(ByteBuffer, int) - Static method in class org.jboss.xnio.ByteString
Get a byte string from a ByteBuffer.
getBytes() - Method in class org.jboss.xnio.ByteString
Get a copy of the bytes of this ByteString.
getBytes(byte[]) - Method in class org.jboss.xnio.ByteString
Copy the bytes of this ByteString into the destination array.
getBytes(byte[], int) - Method in class org.jboss.xnio.ByteString
Copy the bytes of this ByteString into the destination array.
getBytes(byte[], int, int) - Method in class org.jboss.xnio.ByteString
Copy the bytes of this ByteString into the destination array.
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.
getChannelListenerTask(T, ChannelListener<? super T>) - Static method in class org.jboss.xnio.IoUtils
Get a task which invokes the given channel listener on the given channel.
getChannels() - Method in interface org.jboss.xnio.channels.BoundServer
Get the channels representing the individual bound servers.
getCloseSetter() - Method in interface org.jboss.xnio.AcceptingServer
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.BoundChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.BoundServer
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.CloseableChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.ConnectedChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.ConnectedStreamChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.DatagramChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.LocalChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.MessageChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.MultipointDatagramChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.MultipointMessageChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.MultipointReadableMessageChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.MultipointWritableMessageChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.ReadableAllocatedMessageChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.ReadableMessageChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.SslChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.SslTcpChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.StreamChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.StreamSinkChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.StreamSourceChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.SuspendableChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.SuspendableReadChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.SuspendableWriteChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.TcpChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.UdpChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.channels.WritableMessageChannel
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.LocalServer
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.TcpServer
Get the setter which can be used to change the close handler for this channel.
getCloseSetter() - Method in interface org.jboss.xnio.UdpServer
Get the setter which can be used to change the close handler for this channel.
getDelegate() - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
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.Xnio
Get the default handler executor.
getExecutor() - Method in class org.jboss.xnio.XnioConfiguration
Get the default handler executor for the XNIO provider instance.
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.
getIoFuture() - Method in class org.jboss.xnio.FutureResult
Get the IoFuture for this manager.
getLocalAddress() - Method in interface org.jboss.xnio.channels.BoundChannel
Get the local address that this channel is bound to.
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.
getManagerNotifier() - Static method in class org.jboss.xnio.IoUtils
Get a notifier which forwards the result to another IoFuture's manager.
getMap() - Method in class org.jboss.xnio.OptionMap.Builder
Build a map that reflects the current state of this builder.
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.
getModifiedUtf8(ByteBuffer) - Static method in class org.jboss.xnio.Buffers
Get a modified UTF-8 string from the remainder of the buffer.
getModifiedUtf8Z(ByteBuffer) - Static method in class org.jboss.xnio.Buffers
Get a 0-terminated string from the byte buffer, decoding it using "modified UTF-8" encoding.
getName() - Method in class org.jboss.xnio.Option
Get the name of this option.
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.
getName() - Method in interface org.jboss.xnio.XnioProvider
Get the name of this provider's type.
getNetworkInterface() - Method in interface org.jboss.xnio.channels.UdpChannel.Key
Return the network interface for which this key was created.
getNewInstance(XnioConfiguration) - Method in interface org.jboss.xnio.XnioProvider
Get a new provider instance.
getNotifierExecutor() - Method in class org.jboss.xnio.AbstractIoFuture
Get the executor used to run asynchronous notifiers.
getOpenSetter() - Method in interface org.jboss.xnio.AcceptingServer
Get the open handler setter for this server.
getOpenSetter() - Method in interface org.jboss.xnio.LocalServer
Get the open handler setter for this server.
getOpenSetter() - Method in interface org.jboss.xnio.TcpServer
Get the open handler setter for this server.
getOption(Option<T>) - Method in interface org.jboss.xnio.channels.Configurable
Get the value of a channel option.
getOptionMap() - Method in class org.jboss.xnio.XnioConfiguration
Get the option map associated with this configuration.
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.
getReadSetter() - Method in interface org.jboss.xnio.channels.ConnectedStreamChannel
Get the setter which can be used to change the read handler for this channel.
getReadSetter() - Method in interface org.jboss.xnio.channels.DatagramChannel
Get the setter which can be used to change the read handler for this channel.
getReadSetter() - Method in interface org.jboss.xnio.channels.LocalChannel
Get the setter which can be used to change the read handler for this channel.
getReadSetter() - Method in interface org.jboss.xnio.channels.MessageChannel
Get the setter which can be used to change the read handler for this channel.
getReadSetter() - Method in interface org.jboss.xnio.channels.MultipointDatagramChannel
Get the setter which can be used to change the read handler for this channel.
getReadSetter() - Method in interface org.jboss.xnio.channels.MultipointMessageChannel
Get the setter which can be used to change the read handler for this channel.
getReadSetter() - Method in interface org.jboss.xnio.channels.MultipointReadableMessageChannel
Get the setter which can be used to change the read handler for this channel.
getReadSetter() - Method in interface org.jboss.xnio.channels.ReadableAllocatedMessageChannel
Get the setter which can be used to change the read handler for this channel.
getReadSetter() - Method in interface org.jboss.xnio.channels.ReadableMessageChannel
Get the setter which can be used to change the read handler for this channel.
getReadSetter() - Method in interface org.jboss.xnio.channels.SslTcpChannel
Get the setter which can be used to change the read handler for this channel.
getReadSetter() - Method in interface org.jboss.xnio.channels.StreamChannel
Get the setter which can be used to change the read handler for this channel.
getReadSetter() - Method in interface org.jboss.xnio.channels.StreamSourceChannel
Get the setter which can be used to change the read handler for this channel.
getReadSetter() - Method in interface org.jboss.xnio.channels.SuspendableChannel
Get the setter which can be used to change the read handler for this channel.
getReadSetter() - Method in interface org.jboss.xnio.channels.SuspendableReadChannel
Get the setter which can be used to change the read handler for this channel.
getReadSetter() - Method in interface org.jboss.xnio.channels.TcpChannel
Get the setter which can be used to change the read handler for this channel.
getReadSetter() - Method in interface org.jboss.xnio.channels.UdpChannel
Get the setter which can be used to change the read handler for this channel.
getRetryingChannelSource(ChannelSource<T>, int) - Static method in class org.jboss.xnio.IoUtils
A channel source which tries to acquire a channel from a delegate channel source the given number of times before giving up.
getSetter(C, AtomicReferenceFieldUpdater<C, ChannelListener>) - Static method in class org.jboss.xnio.IoUtils
Get a setter based on an atomic reference field updater.
getSetter(AtomicReference<ChannelListener<? super T>>) - Static method in class org.jboss.xnio.IoUtils
Get a setter based on an atomic reference.
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.
getSslSession() - Method in interface org.jboss.xnio.channels.SslChannel
Get the current SSLSession for this channel.
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.
getThreadFactory() - Method in class org.jboss.xnio.XnioConfiguration
Get the thread factory to use for any created threads.
getWriteSetter() - Method in interface org.jboss.xnio.channels.ConnectedStreamChannel
Get the setter which can be used to change the write handler for this channel.
getWriteSetter() - Method in interface org.jboss.xnio.channels.DatagramChannel
Get the setter which can be used to change the write handler for this channel.
getWriteSetter() - Method in interface org.jboss.xnio.channels.LocalChannel
Get the setter which can be used to change the write handler for this channel.
getWriteSetter() - Method in interface org.jboss.xnio.channels.MessageChannel
Get the setter which can be used to change the write handler for this channel.
getWriteSetter() - Method in interface org.jboss.xnio.channels.MultipointDatagramChannel
Get the setter which can be used to change the write handler for this channel.
getWriteSetter() - Method in interface org.jboss.xnio.channels.MultipointMessageChannel
Get the setter which can be used to change the write handler for this channel.
getWriteSetter() - Method in interface org.jboss.xnio.channels.MultipointWritableMessageChannel
Get the setter which can be used to change the write handler for this channel.
getWriteSetter() - Method in interface org.jboss.xnio.channels.SslTcpChannel
Get the setter which can be used to change the write handler for this channel.
getWriteSetter() - Method in interface org.jboss.xnio.channels.StreamChannel
Get the setter which can be used to change the write handler for this channel.
getWriteSetter() - Method in interface org.jboss.xnio.channels.StreamSinkChannel
Get the setter which can be used to change the write handler for this channel.
getWriteSetter() - Method in interface org.jboss.xnio.channels.SuspendableChannel
Get the setter which can be used to change the write handler for this channel.
getWriteSetter() - Method in interface org.jboss.xnio.channels.SuspendableWriteChannel
Get the setter which can be used to change the write handler for this channel.
getWriteSetter() - Method in interface org.jboss.xnio.channels.TcpChannel
Get the setter which can be used to change the write handler for this channel.
getWriteSetter() - Method in interface org.jboss.xnio.channels.UdpChannel
Get the setter which can be used to change the write handler for this channel.
getWriteSetter() - Method in interface org.jboss.xnio.channels.WritableMessageChannel
Get the setter which can be used to change the write handler for this channel.
GIANT - Static variable in interface org.jboss.xnio.channels.ReadableAllocatedMessageChannel
The special marker indicating that the input buffer was overrun.

H

handleCancelled(A) - Method in class org.jboss.xnio.IoFuture.HandlingNotifier
Handle cancellation.
handleDone(T, A) - Method in class org.jboss.xnio.IoFuture.HandlingNotifier
Handle completion.
handleEof() - Method in interface org.jboss.xnio.channels.MessageHandler
 
handleEvent(T) - Method in interface org.jboss.xnio.ChannelListener
Handle the event on this channel.
handleException(IOException) - Method in interface org.jboss.xnio.channels.MessageHandler
 
handleFailed(IOException, A) - Method in class org.jboss.xnio.IoFuture.HandlingNotifier
Handle failure.
handleMessage(ByteBuffer) - Method in interface org.jboss.xnio.channels.MessageHandler
 
hashCode() - Method in class org.jboss.xnio.ByteString
Get the hash code for this ByteString.
hasRemaining(Buffer[], int, int) - Static method in class org.jboss.xnio.Buffers
Determine whether any of the buffers has remaining data.
hasRemaining(Buffer[]) - Static method in class org.jboss.xnio.Buffers
Determine whether any of the buffers has remaining data.

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.
invokeChannelListener(T, ChannelListener<? super T>) - Static method in class org.jboss.xnio.IoUtils
Invoke a channel listener on a given channel, logging any errors.
invokeChannelListener(Executor, T, ChannelListener<? super T>) - Static method in class org.jboss.xnio.IoUtils
Invoke a channel listener on a given channel, logging any errors, using the given executor.
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.
IoUtils - Class in org.jboss.xnio
General I/O utility methods.
IP_TOS - Static variable in class org.jboss.xnio.Options
Type of service for IP sockets.
IP_TRAFFIC_CLASS - Static variable in class org.jboss.xnio.Options
Set the IP traffic class/type-of-service for the channel.
isEmpty() - Method in class org.jboss.xnio.Sequence
Determine whether this sequence is empty.
isOpen() - Method in class org.jboss.xnio.channels.BlockingByteChannel
isOpen() - Method in class org.jboss.xnio.channels.BlockingReadableByteChannel
isOpen() - Method in class org.jboss.xnio.channels.BlockingWritableByteChannel
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.
iterator() - Method in class org.jboss.xnio.OptionMap
Iterate over the options in this map.
iterator() - Method in class org.jboss.xnio.Sequence
Get an iterator over the elements of this sequence.

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.Options
Configure a channel to send a periodic heartbeat of some sort.

L

length() - Method in class org.jboss.xnio.ByteString
Get the number of bytes in this byte string.
limit(T, int) - Static method in class org.jboss.xnio.Buffers
Set the buffer limit.
LocalChannel - Interface in org.jboss.xnio.channels
A connected local IPC channel.
LocalDatagramConnector - Interface in org.jboss.xnio
A local datagram connector convenience interface.
LocalServer - Interface in org.jboss.xnio
A local (UNIX domain) server convenience interface.
LocalStreamConnector - Interface in org.jboss.xnio
A local stream connector convenience interface.
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.Options
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.
MAX_INBOUND_MESSAGE_SIZE - Static variable in class org.jboss.xnio.Options
The maximum inbound message size.
MAX_OUTBOUND_MESSAGE_SIZE - Static variable in class org.jboss.xnio.Options
The maximum outbound message size.
MessageChannel - Interface in org.jboss.xnio.channels
A channel that sends and receives whole messages.
MessageHandler - Interface in org.jboss.xnio.channels
A handler interface for incoming messages.
MessageHandler.Setter - Interface in org.jboss.xnio.channels
 
MULTICAST - Static variable in class org.jboss.xnio.Options
Enable multicast support for a socket.
MULTICAST_TTL - Static variable in class org.jboss.xnio.Options
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

notify(IoFuture<? extends T>, A) - Method in class org.jboss.xnio.IoFuture.HandlingNotifier
Receive notification of the completion of an outstanding operation.
notify(IoFuture<? extends T>, A) - Method in interface org.jboss.xnio.IoFuture.Notifier
Receive notification of the completion of an outstanding operation.
nullCancellable() - Static method in class org.jboss.xnio.IoUtils
Get the null cancellable.
nullChannelListener() - Static method in class org.jboss.xnio.IoUtils
Get a channel listener which does nothing.
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.
nullSetter() - Static method in class org.jboss.xnio.IoUtils
Get a channel listener setter which does nothing.

O

of(byte...) - Static method in class org.jboss.xnio.ByteString
Create a byte string of the given literal bytes.
of(T...) - Static method in class org.jboss.xnio.Sequence
Return a sequence of the given members.
of(Collection<T>) - Static method in class org.jboss.xnio.Sequence
Return a sequence of the given members.
OneWayPipeConnectionMBean - Interface in org.jboss.xnio.management
Statistics and management information for a one-way pipe connection.
open(ChannelListener<? super T>) - Method in interface org.jboss.xnio.ChannelSource
Open a channel.
open(ChannelListener<? super TcpChannel>) - Method in interface org.jboss.xnio.TcpChannelSource
Open a channel.
Option<T> - Class in org.jboss.xnio
A strongly-typed option to configure an aspect of a service or connection.
Option.SetBuilder - Class in org.jboss.xnio
A builder for an immutable option set.
OptionMap - Class in org.jboss.xnio
An immutable map of options to option values.
OptionMap.Builder - Class in org.jboss.xnio
A builder for immutable option maps.
Options - Class in org.jboss.xnio
Common channel options.
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.

P

parseValue(String) - Method in class org.jboss.xnio.Option
Parse a string value for this option.
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).
Pool<T> - Interface in org.jboss.xnio
A generic pooled resource manager.
position(T, int) - Static method in class org.jboss.xnio.Buffers
Set the buffer position.
put(ByteBuffer[], int, int, ByteBuffer) - Static method in class org.jboss.xnio.Buffers
Put as many bytes as possible from src into the byte buffers in a scatter fashion.
putModifiedUtf8(ByteBuffer, String) - Static method in class org.jboss.xnio.Buffers
Put the string into the byte buffer, encoding it using "modified UTF-8" encoding.

R

read(ByteBuffer[], int, int) - Method in class org.jboss.xnio.channels.BlockingByteChannel
Perform a blocking, scattering read operation.
read(ByteBuffer[]) - Method in class org.jboss.xnio.channels.BlockingByteChannel
Perform a blocking, scattering read operation.
read(ByteBuffer) - Method in class org.jboss.xnio.channels.BlockingByteChannel
Perform a blocking read operation.
read(ByteBuffer[], int, int) - Method in class org.jboss.xnio.channels.BlockingReadableByteChannel
Perform a blocking, scattering read operation.
read(ByteBuffer[]) - Method in class org.jboss.xnio.channels.BlockingReadableByteChannel
Perform a blocking, scattering read operation.
read(ByteBuffer) - Method in class org.jboss.xnio.channels.BlockingReadableByteChannel
Perform a blocking read operation.
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
READ_THREADS - Static variable in class org.jboss.xnio.Options
The number of read threads to create.
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.
readResolve() - Method in class org.jboss.xnio.Option
Resolve this instance for serialization.
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.Options
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.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.
remaining(Buffer[], int, int) - Static method in class org.jboss.xnio.Buffers
Get the total remaining size of all the given buffers.
remaining(Buffer[]) - Static method in class org.jboss.xnio.Buffers
Get the total remaining size of all the given buffers.
reset(T) - Static method in class org.jboss.xnio.Buffers
Reset the buffer.
Result<T> - Interface in org.jboss.xnio
A handler for the result of an operation.
resultNotifier() - Static method in class org.jboss.xnio.IoUtils
Get the result notifier.
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.Options
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
 
runnableNotifier(Runnable) - Static method in class org.jboss.xnio.IoUtils
Get a notifier that runs the supplied action.
runNotifier(Runnable) - Method in class org.jboss.xnio.AbstractIoFuture
Run a notifier.
RUNT - Static variable in interface org.jboss.xnio.channels.ReadableAllocatedMessageChannel
The special marker indicating that the input message was shorter than its declared length.

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.
safeClose(IoFuture<? extends Closeable>) - Static method in class org.jboss.xnio.IoUtils
Close a future resource, logging an error if an error occurs.
SASL_MECHANISMS - Static variable in class org.jboss.xnio.Options
A list of SASL mechanisms, in decreasing order of preference.
SASL_POLICY_FORWARD_SECRECY - Static variable in class org.jboss.xnio.Options
Specify whether SASL mechanisms which implement forward secrecy between sessions are required.
SASL_POLICY_NOACTIVE - Static variable in class org.jboss.xnio.Options
Specify whether SASL mechanisms which are susceptible to active (non-dictionary) attacks are permitted.
SASL_POLICY_NOANONYMOUS - Static variable in class org.jboss.xnio.Options
Specify whether SASL mechanisms which accept anonymous logins are permitted.
SASL_POLICY_NODICTIONARY - Static variable in class org.jboss.xnio.Options
Specify whether SASL mechanisms which are susceptable to passive dictionary attacks are permitted.
SASL_POLICY_NOPLAINTEXT - Static variable in class org.jboss.xnio.Options
Specify whether SASL mechanisms which are susceptible to simple plain passive attacks are permitted.
SASL_POLICY_PASS_CREDENTIALS - Static variable in class org.jboss.xnio.Options
Specify whether SASL mechanisms which pass client credentials are required.
SASL_QOP - Static variable in class org.jboss.xnio.Options
Specify the SASL quality-of-protection to use.
SASL_REUSE - Static variable in class org.jboss.xnio.Options
Specify whether SASL mechanisms should attempt to reuse authenticated session information.
SASL_SERVER_AUTH - Static variable in class org.jboss.xnio.Options
Specify whether the SASL server must authenticate to the client.
SASL_STRENGTH - Static variable in class org.jboss.xnio.Options
Specify the SASL cipher strength to use.
SaslQop - Enum in org.jboss.xnio
The SASL quality-of-protection value.
SaslStrength - Enum in org.jboss.xnio
The SASL cipher strength value.
SECURE - Static variable in class org.jboss.xnio.Options
Determine whether the channel is encrypted, or employs some other level of security.
SELECTOR_CACHE_SIZE - Static variable in class org.jboss.xnio.Options
The size of the selector cache (used only by providers which use NIO selectors).
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.Options
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.
sequence(Class<?>, String, Class<T>) - Static method in class org.jboss.xnio.Option
Create an option with a sequence type.
Sequence<T> - Class in org.jboss.xnio
An immutable sequence of elements.
set(ChannelListener<? super T>) - Method in interface org.jboss.xnio.ChannelListener.Setter
Set the listener, or null to ignore the associated event type.
set(MessageHandler) - Method in interface org.jboss.xnio.channels.MessageHandler.Setter
 
set(Option<T>, T) - Method in class org.jboss.xnio.OptionMap.Builder
Set a key-value pair.
set(Option<Integer>, int) - Method in class org.jboss.xnio.OptionMap.Builder
Set an int value for an Integer key.
set(Option<Long>, long) - Method in class org.jboss.xnio.OptionMap.Builder
Set a long value for a Long key.
set(Option<Boolean>, boolean) - Method in class org.jboss.xnio.OptionMap.Builder
Set a boolean value for a Boolean key.
setBuilder() - Static method in class org.jboss.xnio.Option
Create a builder for an immutable option set.
setCancelled() - Method in class org.jboss.xnio.AbstractIoFuture
Acknowledge the cancellation of this operation.
setCancelled() - Method in class org.jboss.xnio.FutureResult
Acknowledge the cancellation of this operation.
setCancelled() - Method in interface org.jboss.xnio.Result
Acknowledge the cancellation of this operation.
setCancelled() - Method in class org.jboss.xnio.TranslatingResult
 
setException(IOException) - Method in class org.jboss.xnio.AbstractIoFuture
Set the exception for this operation.
setException(IOException) - Method in class org.jboss.xnio.FutureResult
Set the exception for this operation.
setException(IOException) - Method in interface org.jboss.xnio.Result
Set the exception for this operation.
setException(IOException) - Method in class org.jboss.xnio.TranslatingResult
 
setExecutor(Executor) - Method in class org.jboss.xnio.XnioConfiguration
Set the default hander executor for the XNIO provider instance.
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(Option<T>, T) - Method in interface org.jboss.xnio.channels.Configurable
Set an option for this channel.
setOptionMap(OptionMap) - Method in class org.jboss.xnio.XnioConfiguration
Set the option map associated with this configuration.
setResult(T) - Method in class org.jboss.xnio.AbstractIoFuture
Set the result for this operation.
setResult(T) - Method in class org.jboss.xnio.FutureResult
Set the result for this operation.
setResult(T) - Method in interface org.jboss.xnio.Result
Set the result for this operation.
setResult(T) - Method in class org.jboss.xnio.TranslatingResult
 
setSequence(Option<Sequence<Integer>>, int...) - Method in class org.jboss.xnio.OptionMap.Builder
Set int values for an Integer sequence key.
setSequence(Option<Sequence<Long>>, long...) - Method in class org.jboss.xnio.OptionMap.Builder
Set long values for a Long sequence key.
setSequence(Option<Sequence<Boolean>>, boolean...) - Method in class org.jboss.xnio.OptionMap.Builder
Set boolean values for an Boolean sequence key.
setSequence(Option<Sequence<T>>, T...) - Method in class org.jboss.xnio.OptionMap.Builder
Set a key-value pair, where the value is a sequence type.
setThreadFactory(ThreadFactory) - Method in class org.jboss.xnio.XnioConfiguration
Set the thread factory to use for any created 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.
shutdownWritesBlocking(SuspendableWriteChannel) - Static method in class org.jboss.xnio.channels.Channels
Simple utility method to execute a blocking write shutdown on a writable channel.
simple(Class<?>, String, Class<T>) - Static method in class org.jboss.xnio.Option
Create an option with a simple type.
size() - Method in class org.jboss.xnio.OptionMap
Get the number of options stored in this map.
size() - Method in class org.jboss.xnio.Sequence
Return the number of elements in this sequence.
skip(T, int) - Static method in class org.jboss.xnio.Buffers
Advance 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.
SSL_CLIENT_AUTH_MODE - Static variable in class org.jboss.xnio.Options
Specify the SSL client authentication mode.
SSL_ENABLE_SESSION_CREATION - Static variable in class org.jboss.xnio.Options
Enable or disable session creation for an SSL connection.
SSL_ENABLED_CIPHER_SUITES - Static variable in class org.jboss.xnio.Options
Specify the cipher suites for an SSL/TLS session.
SSL_ENABLED_PROTOCOLS - Static variable in class org.jboss.xnio.Options
Specify the enabled protocols for an SSL/TLS session.
SSL_PROVIDER - Static variable in class org.jboss.xnio.Options
Specify the requested provider for an SSL/TLS session.
SSL_RECEIVE_BUFFER - Static variable in class org.jboss.xnio.Options
Specify the SSL receive buffer size.
SSL_SEND_BUFFER - Static variable in class org.jboss.xnio.Options
Specify the SSL send buffer size.
SSL_SUPPORTED_CIPHER_SUITES - Static variable in class org.jboss.xnio.Options
Get the supported cipher suites for an SSL/TLS session.
SSL_SUPPORTED_PROTOCOLS - Static variable in class org.jboss.xnio.Options
Get the supported protocols for an SSL/TLS session.
SSL_USE_CLIENT_MODE - Static variable in class org.jboss.xnio.Options
Specify whether SSL conversations should be in client or server mode.
SslChannel - Interface in org.jboss.xnio.channels
A channel which can use SSL/TLS to negotiate a security layer.
SslClientAuthMode - Enum in org.jboss.xnio
The desired SSL client authentication mode for SSL channels in server mode.
SslTcpChannel - Interface in org.jboss.xnio.channels
A TLS-encapsulated TCP channel.
startHandshake() - Method in interface org.jboss.xnio.channels.SslChannel
Start or restart the SSL/TLS handshake.
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.
substring(int) - Method in class org.jboss.xnio.ByteString
Get the substring of this string starting at the given offset.
substring(int, int) - Method in class org.jboss.xnio.ByteString
Get the substring of this string starting at the given offset.
supportsOption(Option<?>) - Method in interface org.jboss.xnio.channels.Configurable
Determine whether an option is supported on this 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 read notifications on this channel.
suspendWrites() - Method in interface org.jboss.xnio.channels.SuspendableWriteChannel
Suspend further write notifications on this channel.

T

take(ByteBuffer, int) - Static method in class org.jboss.xnio.Buffers
Take a certain number of bytes from the buffer and return them in an array.
take(CharBuffer, int) - Static method in class org.jboss.xnio.Buffers
Take a certain number of chars from the buffer and return them in an array.
take(ShortBuffer, int) - Static method in class org.jboss.xnio.Buffers
Take a certain number of shorts from the buffer and return them in an array.
take(IntBuffer, int) - Static method in class org.jboss.xnio.Buffers
Take a certain number of ints from the buffer and return them in an array.
take(LongBuffer, int) - Static method in class org.jboss.xnio.Buffers
Take a certain number of longs from the buffer and return them in an array.
TCP_NODELAY - Static variable in class org.jboss.xnio.Options
Configure a TCP socket to disable Nagle's algorithm.
TCP_OOB_INLINE - Static variable in class org.jboss.xnio.Options
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.
TcpServer - Interface in org.jboss.xnio
A TCP server convenience interface.
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.
toArray() - Method in class org.jboss.xnio.Sequence
Get a copy of the values array.
toString(String) - Method in class org.jboss.xnio.ByteString
Convert this byte string to a standard string.
toString() - Method in class org.jboss.xnio.Option
Get a human-readible string representation of this object.
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.
transferFrom(FileChannel, long, long) - Method in interface org.jboss.xnio.channels.StreamSinkChannel
Transfer bytes into this channel from the given file.
transferTo(long, long, FileChannel) - Method in interface org.jboss.xnio.channels.StreamSourceChannel
Transfers bytes into the given file from this channel.
translate(T) - Method in class org.jboss.xnio.TranslatingResult
 
TranslatingResult<T,O> - Class in org.jboss.xnio
Abstract base class for Results which translate from one type to another.
TranslatingResult(Result<O>) - Constructor for class org.jboss.xnio.TranslatingResult
 

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.
UdpServer - Interface in org.jboss.xnio
A UDP server convenience interface.
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(InetSocketAddress) - 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.
unget(T, int) - Static method in class org.jboss.xnio.Buffers
Rewind a buffer's position relative to its current position.
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) - Static method in enum org.jboss.xnio.IoFuture.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jboss.xnio.SaslQop
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jboss.xnio.SaslStrength
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jboss.xnio.SslClientAuthMode
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.
values() - Static method in enum org.jboss.xnio.SaslQop
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jboss.xnio.SaslStrength
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jboss.xnio.SslClientAuthMode
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.
WOULD_BLOCK - Static variable in interface org.jboss.xnio.channels.ReadableAllocatedMessageChannel
The special marker indicating that the receive request would block.
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(ByteBuffer[], int, int) - Method in class org.jboss.xnio.channels.BlockingByteChannel
Perform a blocking, gathering write operation.
write(ByteBuffer[]) - Method in class org.jboss.xnio.channels.BlockingByteChannel
Perform a blocking, gathering write operation.
write(ByteBuffer) - Method in class org.jboss.xnio.channels.BlockingByteChannel
Perform a blocking write operation.
write(ByteBuffer[], int, int) - Method in class org.jboss.xnio.channels.BlockingWritableByteChannel
Perform a blocking, gathering write operation.
write(ByteBuffer[]) - Method in class org.jboss.xnio.channels.BlockingWritableByteChannel
Perform a blocking, gathering write operation.
write(ByteBuffer) - Method in class org.jboss.xnio.channels.BlockingWritableByteChannel
Perform a blocking write operation.
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
WRITE_THREADS - Static variable in class org.jboss.xnio.Options
The number of write threads to create.
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
A configuration for an XNIO provider.
XnioConfiguration() - Constructor for class org.jboss.xnio.XnioConfiguration
Construct an uninitialized instance.
XnioProvider - Interface in org.jboss.xnio
A descriptor for automatically-discovered XNIO provider type.

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

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