XNIO version 1.1.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.
addNotifier(IoFuture.Notifier<T>) - Method in class org.jboss.xnio.AbstractConvertingIoFuture
 
addNotifier(IoFuture.Notifier<T>) - Method in class org.jboss.xnio.AbstractIoFuture
Add a notifier to be called when this operation is complete.
addNotifier(IoFuture.Notifier<T>) - 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.
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.
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.

B

BACKLOG - Static variable in class org.jboss.xnio.channels.CommonOptions
Configure a server with the specified backlog.
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.
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.AbstractIoFuture
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.
ChannelOption<T> - Interface in org.jboss.xnio.channels
An option that may be applied to a channel.
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.
clear(T) - Static method in class org.jboss.xnio.Buffers
Clear a buffer.
close() - Method in class org.jboss.xnio.nio.NioXnio
Close this XNIO provider.
close() - Method in class org.jboss.xnio.WeakCloseable
In addition, if the resource has already been garbage collected, this operation has no effect.
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.
CloseableTcpChannelSource - Interface in org.jboss.xnio
A TCP client that is closeable.
CloseableTcpConnector - Interface in org.jboss.xnio
A TCP connector that is closeable.
Closer - Class in org.jboss.xnio
A Runnable that closes some resource.
Closer(Closeable) - Constructor for class org.jboss.xnio.Closer
 
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
 
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() - 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.
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 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
 
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.
createNio() - Static method in class org.jboss.xnio.Xnio
Deprecated. Will be removed in 1.2. Please use Xnio.create() instead, or use the constructor of your desired implementation.
createNio(int, int, int) - Static method in class org.jboss.xnio.Xnio
Deprecated. Will be removed in 1.2. Please use Xnio.create() instead, or use the constructor of your desired implementation.
createNio(Executor, int, int, int) - Static method in class org.jboss.xnio.Xnio
Deprecated. Will be removed in 1.2. Please use Xnio.create() instead, or use the constructor of your desired implementation.
createNio(Executor, ThreadFactory, int, int, int) - Static method in class org.jboss.xnio.Xnio
Deprecated. Will be removed in 1.2. Please use Xnio.create() instead, or use the constructor of your desired implementation.
createOneWayPipeConnection(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.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(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.Xnio
Create a single pipe connection.
createPipeServer(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.Xnio
Create a pipe "server".
createPipeSinkServer(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.Xnio
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(IoHandlerFactory<? super StreamSinkChannel>) - Method in class org.jboss.xnio.Xnio
Create a one-way pipe "server".
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(String, 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.
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(String, 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.
finishCancel() - Method in class org.jboss.xnio.AbstractIoFuture
Acknowledge the cancellation of this operation.
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.

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.
getChannel() - Method in interface org.jboss.xnio.channels.UdpChannel.Key
Return the channel associated with this key.
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.
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.
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.
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.
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.
getRemoteAddress() - Method in class org.jboss.xnio.ConnectionAddress
Get the remote address.
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.

H

handleCancelled() - Method in class org.jboss.xnio.IoFuture.HandlingNotifier
Handle cancellation.
handleClosed(T) - Method in interface org.jboss.xnio.IoHandler
Handle channel close.
handleDone(T) - Method in class org.jboss.xnio.IoFuture.HandlingNotifier
Handle completion.
handleFailed(IOException) - 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 interface org.jboss.xnio.IoHandler
Handle channel readability.
handleWritable(T) - Method in interface org.jboss.xnio.IoHandler
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

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(String, 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> - 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> - 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.
IoUtils - Class in org.jboss.xnio
General I/O utility methods.
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.
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.
notify(IoFuture<T>) - Method in class org.jboss.xnio.IoFuture.HandlingNotifier
Receive notification of the completion of an outstanding operation.
notify(IoFuture<T>) - Method in interface org.jboss.xnio.IoFuture.Notifier
Receive notification of the completion of an outstanding operation.
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

open(IoHandler<? super T>) - Method in interface org.jboss.xnio.ChannelSource
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.nio - package org.jboss.xnio.nio
An NIO-based implementation of XNIO.

P

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

ReadableAllocatedMessageChannel - Interface in org.jboss.xnio.channels
A channel that can receive messages.
ReadableMessageChannel - Interface in org.jboss.xnio.channels
A channel that can receive messages.
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.
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(IoFuture.Notifier<T>) - Method in class org.jboss.xnio.AbstractIoFuture
Run a notifier.
runNotifier(IoFuture.Notifier<T>) - Method in class org.jboss.xnio.FailedIoFuture
Run a notifier.
runNotifier(IoFuture.Notifier<T>) - Method in class org.jboss.xnio.FinishedIoFuture
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.
setException(IOException) - Method in class org.jboss.xnio.AbstractIoFuture
Set the exception for this operation.
setOption(ChannelOption<T>, T) - Method in interface org.jboss.xnio.channels.Configurable
Set an option for this channel.
setResult(T) - Method in class org.jboss.xnio.AbstractIoFuture
Set the result for this operation.
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.
TcpChannel - Interface in org.jboss.xnio.channels
A TCP channel.
TcpChannelSource - Interface in org.jboss.xnio
A client specifically for connecting to TCP remote servers.
TcpConnector - Interface in org.jboss.xnio
A connector specifically for connecting to TCP servers.
TIMED_OUT - Static variable in enum org.jboss.xnio.IoFuture.Status
Deprecated. This status value is redundant, and will be removed in a future version of XNIO; use IoFuture.Status.WAITING instead.
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.
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(String, 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.
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) - 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(String, 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.
WritableMessageChannel - Interface in org.jboss.xnio.channels
A channel that can send messages.

X

Xnio - Class in org.jboss.xnio
The XNIO entry point class.
Xnio() - Constructor for class org.jboss.xnio.Xnio
Construct an XNIO provider 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.1.0.GA

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