Package org.xnio
package org.xnio
The main API package for XNIO.
In addition to interfaces that are used and implemented by users of XNIO, this package contains several utility classes which, while not required to write an XNIO application, simplify boilerplate tasks associated with low-level I/O operations.
-
ClassDescriptionAn
IoFuture
implementation that wraps a different type ofIoFuture
.An abstract base class forIoFuture
objects.Deprecated.General bit-affecting utility methods.An exception that signifies that a pipe, stream, or channel was closed from the read side while the write side was still writing.BufferAllocator<B extends Buffer>A simple allocator for buffers.Buffer utility methods.A fast source of pooled buffers.A set of buffer pools for each size, which can either beByteBufferPool.Set.DIRECT
orByteBufferPool.Set.HEAP
.Deprecated.SeeByteBufferPool
.An immutable string of bytes.An operation which may be cancelled.ChainedChannelListener<T extends Channel>A channel listener that chains calls to a number of other channel listeners.ChannelDestination<T extends Channel>A channel destination.ChannelExceptionHandler<T extends Channel>An exception handler for utility channel listeners.ChannelListener<T extends Channel>A listener for channel events.ChannelListener.Setter<T extends Channel>A setter for a channel listener.ChannelListener.SimpleSetter<T extends Channel>A simple implementation ofChannelListener.Setter
.Channel listener utility methods.A one-way pipe.ChannelSource<T extends Channel>A channel source.A channel open was attempted on a closed worker.ARunnable
that closes some resource.Supported compression types.The base for all connections.DelegatingChannelListener<T extends Channel>A base class for a channel listener which performs an action and then calls a delegate listener.An implementation ofIoFuture
that represents an immediately-failed operation.Possible file access modes.Callback for file system change eventsThe event object that is fired when a file system change is detected.Watched file event types.File system watcher service.An implementation ofIoFuture
that represents an immediately-successful operation.FutureResult<T>A result with a correspondingIoFuture
instance.IoFuture<T>The future result of an asynchronous request.A base notifier class that calls the designated handler method on notification.IoFuture.Notifier<T,A> A notifier that handles changes in the status of anIoFuture
.The current status of an asynchronous operation.General I/O utility methods.A socket address which is a local (UNIX domain) socket.A message-oriented connection between peers.Option<T>A strongly-typed option to configure an aspect of a service or connection.A builder for an immutable option set.An immutable map of options to option values.A builder for immutable option maps.Common channel options.Pool<T>Deprecated.SeeByteBufferPool
.Pooled<T>Deprecated.SeeByteBufferPool
.An immutable property represented by a key and value.A simple property-read privileged action.Result<T>A handler for the result of an operation.Sequence<T>An immutable sequence of elements.The desired SSL client authentication mode for SSL channels in server mode.A connection between peers.TranslatingResult<T,O> Abstract base class forResult
s which translate from one type to another.The version class.The XNIO provider class.An executor with the capability to run timed, cancellable tasks.A task key for a timeout task.An XNIO I/O factory which can be used to create channels.An XNIO thread.An XNIO provider, used by the service loader discovery mechanism.A worker for I/O channel notification.A builder which allows workers to be programmatically configured.An interface which is loaded viaServiceLoader
in order to take over the configuration of the default worker in the event that no overriding configuration is present.
CleanerReference
.