- AbstractConvertingIoFuture<T,D> - Class in org.xnio
-
An IoFuture
implementation that wraps a different type of IoFuture
.
- AbstractConvertingIoFuture(IoFuture<? extends D>) - Constructor for class org.xnio.AbstractConvertingIoFuture
-
- AbstractIoFuture<T> - Class in org.xnio
-
An abstract base class for IoFuture
objects.
- AbstractIoFuture() - Constructor for class org.xnio.AbstractIoFuture
-
Construct a new instance.
- accept(ChannelListener<? super T>, ChannelListener<? super BoundChannel>) - Method in interface org.xnio.ChannelDestination
-
Accept a connection.
- accept() - Method in interface org.xnio.channels.AcceptingChannel
-
Attempt to accept a connection.
- accept() - Method in interface org.xnio.channels.SimpleAcceptingChannel
-
Attempt to accept a connection.
- accept(Pooled<ByteBuffer>, boolean) - Method in interface org.xnio.streams.BufferPipeOutputStream.BufferWriter
-
Accept a buffer.
- acceptBlocking(A) - Static method in class org.xnio.channels.Channels
-
Simple utility method to execute a blocking accept on an accepting channel.
- acceptBlocking(A, long, TimeUnit) - Static method in class org.xnio.channels.Channels
-
Simple utility method to execute a blocking accept on an accepting channel, with a timeout.
- acceptDatagram(SocketAddress, ChannelListener<? super ConnectedMessageChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Accept a message connection at a destination address.
- AcceptingChannel<C extends ConnectedChannel> - Interface in org.xnio.channels
-
A channel which can accept inbound connections from remote endpoints.
- acceptLocalDatagram(LocalSocketAddress, ChannelListener<? super ConnectedMessageChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Implementation helper method to accept a local (UNIX domain) datagram connection.
- acceptLocalStream(LocalSocketAddress, ChannelListener<? super ConnectedStreamChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Implementation helper method to accept a local (UNIX domain) stream connection.
- acceptStream(SocketAddress, ChannelListener<? super ConnectedStreamChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Accept a stream connection at a destination address.
- acceptTcpStream(InetSocketAddress, ChannelListener<? super ConnectedStreamChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Implementation helper method to accept a TCP connection.
- acknowledge(Pooled<ByteBuffer>) - Method in interface org.xnio.streams.BufferPipeInputStream.InputHandler
-
Acknowledges the successful processing of an input buffer.
- add(Option<?>) - Method in class org.xnio.Option.SetBuilder
-
Add an option to this set.
- add(Map<?, ?>) - Method in class org.xnio.OptionMap.Builder
-
Add all the entries of a map.
- addAll(Collection<Option<?>>) - Method in class org.xnio.Option.SetBuilder
-
Add all options from a collection to this set.
- addAll(OptionMap) - Method in class org.xnio.OptionMap.Builder
-
Add all entries from an existing option map to the one being built.
- addCancelHandler(Cancellable) - Method in class org.xnio.AbstractIoFuture
-
Add a cancellation handler.
- addCancelHandler(Cancellable) - Method in class org.xnio.FutureResult
-
Add a cancellation handler.
- addNotifier(IoFuture.Notifier<? super T, A>, A) - Method in class org.xnio.AbstractConvertingIoFuture
-
- addNotifier(IoFuture.Notifier<? super T, A>, A) - Method in class org.xnio.AbstractIoFuture
-
Add a notifier to be called when this operation is complete.
- addNotifier(IoFuture.Notifier<? super T, A>, A) - Method in interface org.xnio.IoFuture
-
Add a notifier to be called when this operation is complete.
- addRandom(ByteBuffer, Random, int) - Static method in class org.xnio.Buffers
-
Add count
bytes of random data to the target buffer.
- addRandom(ByteBuffer, int) - Static method in class org.xnio.Buffers
-
Add count
bytes of random data to the target buffer using the thread-local RNG.
- addRandom(ByteBuffer, Random) - Static method in class org.xnio.Buffers
-
Add a random amount of random data to the target buffer.
- addRandom(ByteBuffer) - Static method in class org.xnio.Buffers
-
Add a random amount of random data to the target buffer using the thread-local RNG.
- allAreClear(int, int) - Static method in class org.xnio.Bits
-
Determine if all of the flags
in the given var
are clear.
- allAreClear(long, long) - Static method in class org.xnio.Bits
-
Determine if all of the flags
in the given var
are clear.
- allAreSet(int, int) - Static method in class org.xnio.Bits
-
Determine if all of the flags
in the given var
are set.
- allAreSet(long, long) - Static method in class org.xnio.Bits
-
Determine if all of the flags
in the given var
are set.
- allocate(int) - Method in interface org.xnio.BufferAllocator
-
Allocate a buffer of the given size.
- allocate() - Method in class org.xnio.ByteBufferSlicePool
-
Allocate a resource from the pool.
- allocate() - Method in interface org.xnio.Pool
-
Allocate a resource from the pool.
- allocatedBufferPool(BufferAllocator<B>, int) - Static method in class org.xnio.Buffers
-
A buffer pool which allocates a new buffer on every allocate request, and discards buffers on free.
- ALLOW_BLOCKING - Static variable in class org.xnio.Options
-
Enable or disable blocking I/O for a newly created channel thread.
- allowBlocking(boolean) - Static method in class org.xnio.Xnio
-
Allow (or disallow) blocking I/O on the current thread.
- anyAreClear(int, int) - Static method in class org.xnio.Bits
-
Determine if any of the flags
in the given var
are clear.
- anyAreClear(long, long) - Static method in class org.xnio.Bits
-
Determine if any of the flags
in the given var
are clear.
- anyAreSet(int, int) - Static method in class org.xnio.Bits
-
Determine if any of the flags
in the given var
are set.
- anyAreSet(long, long) - Static method in class org.xnio.Bits
-
Determine if any of the flags
in the given var
are set.
- assertWritable(Buffer[], int, int) - Static method in class org.xnio.Buffers
-
Assert the writability of the given buffers.
- assertWritable(Buffer...) - Static method in class org.xnio.Buffers
-
Assert the writability of the given buffers.
- attachmentClosingNotifier() - Static method in class org.xnio.IoUtils
-
Get a notifier that closes the attachment.
- available() - Method in class org.xnio.streams.BufferedChannelInputStream
-
Return the number of bytes available to read, or 0 if a subsequent read()
operation would block.
- available() - Method in class org.xnio.streams.BufferPipeInputStream
- available() - Method in class org.xnio.streams.LimitedInputStream
- available() - Method in class org.xnio.streams.ReaderInputStream
- await() - Method in class org.xnio.AbstractConvertingIoFuture
-
- await(long, TimeUnit) - Method in class org.xnio.AbstractConvertingIoFuture
-
- await() - Method in class org.xnio.AbstractIoFuture
-
Wait for the operation to complete.
- await(long, TimeUnit) - Method in class org.xnio.AbstractIoFuture
-
Wait for the operation to complete, with a timeout.
- await() - Method in interface org.xnio.IoFuture
-
Wait for the operation to complete.
- await(long, TimeUnit) - Method in interface org.xnio.IoFuture
-
Wait for the operation to complete, with a timeout.
- await() - Method in class org.xnio.streams.Pipe
-
Wait for the read side to close.
- awaitAcceptable() - Method in interface org.xnio.channels.SuspendableAcceptChannel
-
Block until this channel becomes acceptable again.
- awaitAcceptable(long, TimeUnit) - Method in interface org.xnio.channels.SuspendableAcceptChannel
-
Block until this channel becomes acceptable again, or until the timeout expires.
- awaitAll(IoFuture<?>...) - Static method in class org.xnio.IoUtils
-
Wait for all the futures to complete.
- awaitAllInterruptibly(IoFuture<?>...) - Static method in class org.xnio.IoUtils
-
Wait for all the futures to complete.
- awaitInterruptibly() - Method in class org.xnio.AbstractConvertingIoFuture
-
- awaitInterruptibly(long, TimeUnit) - Method in class org.xnio.AbstractConvertingIoFuture
-
- awaitInterruptibly() - Method in class org.xnio.AbstractIoFuture
-
Wait for the operation to complete.
- awaitInterruptibly(long, TimeUnit) - Method in class org.xnio.AbstractIoFuture
-
Wait for the operation to complete, with a timeout.
- awaitInterruptibly() - Method in interface org.xnio.IoFuture
-
Wait for the operation to complete.
- awaitInterruptibly(long, TimeUnit) - Method in interface org.xnio.IoFuture
-
Wait for the operation to complete, with a timeout.
- awaitReadable() - Method in interface org.xnio.channels.SuspendableReadChannel
-
Block until this channel becomes readable again.
- awaitReadable(long, TimeUnit) - Method in interface org.xnio.channels.SuspendableReadChannel
-
Block until this channel becomes readable again, or until the timeout expires.
- awaitReadable() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Block until this channel becomes readable again.
- awaitReadable(long, TimeUnit) - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Block until this channel becomes readable again, or until the timeout expires.
- awaitTermination(long, TimeUnit) - Method in class org.xnio.XnioWorker
-
- awaitWritable() - Method in interface org.xnio.channels.SuspendableWriteChannel
-
Block until this channel becomes writable again.
- awaitWritable(long, TimeUnit) - Method in interface org.xnio.channels.SuspendableWriteChannel
-
Block until this channel becomes writable again, or until the timeout expires.
- awaitWritable() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Block until this channel becomes writable again.
- awaitWritable(long, TimeUnit) - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Block until this channel becomes writable again, or until the timeout expires.
- cancel() - Method in class org.xnio.AbstractConvertingIoFuture
-
- cancel() - Method in class org.xnio.AbstractIoFuture
-
Cancel an operation.
- cancel() - Method in interface org.xnio.Cancellable
-
Cancel an operation.
- cancel() - Method in class org.xnio.FailedIoFuture
-
Cancel the operation.
- cancel() - Method in class org.xnio.FinishedIoFuture
-
Cancel the operation.
- cancel() - Method in interface org.xnio.IoFuture
-
Cancel an operation.
- Cancellable - Interface in org.xnio
-
An operation which may be cancelled.
- cast(IoFuture<I>, Class<O>) - Static method in class org.xnio.IoUtils
-
Create an IoFuture
which wraps another IoFuture
, but returns a different type.
- cast(Object) - Method in class org.xnio.Option
-
Return the given object as the type of this option.
- cast(Class<N>) - Method in class org.xnio.Sequence
-
Cast a sequence to a different type if all the contained elements are of the subtype.
- channel - Variable in class org.xnio.channels.TranslatingSuspendableChannel
-
The wrapped channel.
- channel - Variable in class org.xnio.streams.ChannelInputStream
-
- channel - Variable in class org.xnio.streams.ChannelOutputStream
-
- ChannelDestination<T extends Channel> - Interface in org.xnio
-
A channel destination.
- ChannelInputStream - Class in org.xnio.streams
-
An input stream which reads from a stream source channel.
- ChannelInputStream(StreamSourceChannel) - Constructor for class org.xnio.streams.ChannelInputStream
-
Construct a new instance.
- ChannelInputStream(StreamSourceChannel, long, TimeUnit) - Constructor for class org.xnio.streams.ChannelInputStream
-
Construct a new instance.
- ChannelListener<T extends Channel> - Interface in org.xnio
-
A listener for channel events.
- ChannelListener.Setter<T extends Channel> - Interface in org.xnio
-
A setter for a channel listener.
- ChannelListener.SimpleSetter<T extends Channel> - Class in org.xnio
-
- ChannelListener.SimpleSetter() - Constructor for class org.xnio.ChannelListener.SimpleSetter
-
- channelListenerNotifier() - Static method in class org.xnio.IoUtils
-
Get the notifier that invokes the channel listener given as an attachment.
- ChannelListeners - Class in org.xnio
-
Channel listener utility methods.
- ChannelOutputStream - Class in org.xnio.streams
-
An output stream which writes to a stream sink channel.
- ChannelOutputStream(StreamSinkChannel) - Constructor for class org.xnio.streams.ChannelOutputStream
-
Construct a new instance.
- ChannelOutputStream(StreamSinkChannel, long, TimeUnit) - Constructor for class org.xnio.streams.ChannelOutputStream
-
Construct a new instance.
- Channels - Class in org.xnio.channels
-
A utility class containing static methods to support channel usage.
- ChannelSource<T extends Channel> - Interface in org.xnio
-
A channel source.
- charFromBytesBE(byte[], int) - Static method in class org.xnio.Bits
-
Get a 16-bit signed big-endian char value from a byte array.
- charFromBytesLE(byte[], int) - Static method in class org.xnio.Bits
-
Get a 16-bit signed little-endian char value from a byte array.
- checkBlockingAllowed() - Static method in class org.xnio.Xnio
-
Perform a check for whether blocking is allowed on the current thread.
- clear(T) - Static method in class org.xnio.Buffers
-
Clear a buffer.
- clear() - Method in class org.xnio.channels.SocketAddressBuffer
-
Clear both addresses in the buffer.
- clearReadReady() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Indicate that the channel is no longer definitely immediately readable.
- clearReadRequiresWrite() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Indicate that the channel no longer requires writability for reads to proceed.
- clearWriteReady() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Indicate that the channel is no longer definitely immediately writable.
- clearWriteRequiresRead() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Indicate that the channel no longer requires writability for writes to proceed.
- close() - Method in class org.xnio.channels.BlockingByteChannel
- close() - Method in class org.xnio.channels.BlockingReadableByteChannel
- close() - Method in class org.xnio.channels.BlockingWritableByteChannel
- close() - Method in interface org.xnio.channels.CloseableChannel
-
Close this channel.
- close() - Method in interface org.xnio.channels.SuspendableWriteChannel
-
Close this channel.
- close() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Close this channel.
- close() - Method in class org.xnio.streams.BufferedChannelInputStream
-
Close the stream.
- close() - Method in class org.xnio.streams.BufferPipeInputStream
- close() - Method in interface org.xnio.streams.BufferPipeInputStream.InputHandler
-
- close() - Method in class org.xnio.streams.BufferPipeOutputStream
- close() - Method in class org.xnio.streams.ChannelInputStream
- close() - Method in class org.xnio.streams.ChannelOutputStream
- close() - Method in class org.xnio.streams.LimitedInputStream
- close() - Method in class org.xnio.streams.LimitedOutputStream
- close() - Method in class org.xnio.streams.ReaderInputStream
- close() - Method in class org.xnio.streams.WriterOutputStream
- CLOSE_ABORT - Static variable in class org.xnio.Options
-
Configure a TCP socket to send an RST
packet on close.
- CloseableChannel - Interface in org.xnio.channels
-
A channel which is closeable.
- closeAction(boolean, boolean) - Method in class org.xnio.channels.FramedMessageChannel
-
- closeAction(boolean, boolean) - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
- closed - Variable in class org.xnio.streams.ChannelInputStream
-
- closed - Variable in class org.xnio.streams.ChannelOutputStream
-
- ClosedWorkerException - Exception in org.xnio
-
A channel open was attempted on a closed worker.
- ClosedWorkerException() - Constructor for exception org.xnio.ClosedWorkerException
-
Constructs a ClosedWorkerException
with no detail message.
- ClosedWorkerException(String) - Constructor for exception org.xnio.ClosedWorkerException
-
Constructs a ClosedWorkerException
with the specified detail message.
- ClosedWorkerException(Throwable) - Constructor for exception org.xnio.ClosedWorkerException
-
Constructs a ClosedWorkerException
with the specified cause.
- ClosedWorkerException(String, Throwable) - Constructor for exception org.xnio.ClosedWorkerException
-
Constructs a ClosedWorkerException
with the specified detail message and cause.
- Closer - Class in org.xnio
-
A Runnable
that closes some resource.
- Closer(Closeable) - Constructor for class org.xnio.Closer
-
- closingCancellable(Closeable) - Static method in class org.xnio.IoUtils
-
A cancellable which closes the given resource on cancel.
- closingChannelListener() - Static method in class org.xnio.ChannelListeners
-
Get a channel listener which closes the channel when notified.
- closingNotifier() - Static method in class org.xnio.IoUtils
-
Get a notifier that closes the result.
- compareTo(ByteString) - Method in class org.xnio.ByteString
-
Compare this ByteString to another.
- Configurable - Interface in org.xnio.channels
-
A channel that has parameters that may be configured while the channel is open.
- connectDatagram(SocketAddress, ChannelListener<? super ConnectedMessageChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Connect to a remote stream server.
- connectDatagram(SocketAddress, SocketAddress, ChannelListener<? super ConnectedMessageChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Connect to a remote datagram server.
- ConnectedChannel - Interface in org.xnio.channels
-
A channel that has a local and peer endpoint address.
- ConnectedMessageChannel - Interface in org.xnio.channels
-
A channel that sends and receives messages to a connected peer.
- ConnectedSslStreamChannel - Interface in org.xnio.channels
-
A TLS-encapsulated connected stream channel.
- ConnectedStreamChannel - Interface in org.xnio.channels
-
A stream channel that is a connection between a local and remote endpoint.
- connectLocalDatagram(LocalSocketAddress, LocalSocketAddress, ChannelListener<? super ConnectedMessageChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Implementation helper method to connect to a local (UNIX domain) datagram server.
- connectLocalStream(LocalSocketAddress, LocalSocketAddress, ChannelListener<? super ConnectedStreamChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Implementation helper method to connect to a local (UNIX domain) server.
- connectSsl(XnioWorker, InetSocketAddress, ChannelListener<? super ConnectedSslStreamChannel>, OptionMap) - Method in class org.xnio.ssl.JsseXnioSsl
-
- connectSsl(XnioWorker, InetSocketAddress, ChannelListener<? super ConnectedSslStreamChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.ssl.JsseXnioSsl
-
- connectSsl(XnioWorker, InetSocketAddress, InetSocketAddress, ChannelListener<? super ConnectedSslStreamChannel>, OptionMap) - Method in class org.xnio.ssl.JsseXnioSsl
-
- connectSsl(XnioWorker, InetSocketAddress, InetSocketAddress, ChannelListener<? super ConnectedSslStreamChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.ssl.JsseXnioSsl
-
- connectSsl(XnioWorker, InetSocketAddress, ChannelListener<? super ConnectedSslStreamChannel>, OptionMap) - Method in class org.xnio.ssl.XnioSsl
-
Create an SSL connection to a remote host.
- connectSsl(XnioWorker, InetSocketAddress, ChannelListener<? super ConnectedSslStreamChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.ssl.XnioSsl
-
Create an SSL connection to a remote host.
- connectSsl(XnioWorker, InetSocketAddress, InetSocketAddress, ChannelListener<? super ConnectedSslStreamChannel>, OptionMap) - Method in class org.xnio.ssl.XnioSsl
-
Create an SSL connection to a remote host.
- connectSsl(XnioWorker, InetSocketAddress, InetSocketAddress, ChannelListener<? super ConnectedSslStreamChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.ssl.XnioSsl
-
Create an SSL connection to a remote host.
- connectStream(SocketAddress, ChannelListener<? super ConnectedStreamChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Connect to a remote stream server.
- connectStream(SocketAddress, ChannelListener<? super ConnectedStreamChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Connect to a remote stream server.
- connectStream(SocketAddress, SocketAddress, ChannelListener<? super ConnectedStreamChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Connect to a remote stream server.
- connectTcpStream(InetSocketAddress, InetSocketAddress, ChannelListener<? super ConnectedStreamChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Implementation helper method to connect to a TCP server.
- connectUdpDatagram(InetSocketAddress, InetSocketAddress, ChannelListener<? super ConnectedMessageChannel>, ChannelListener<? super BoundChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Implementation helper method to connect to a UDP server.
- contains(Option<?>) - Method in class org.xnio.OptionMap
-
Determine whether this option map contains the given option.
- convert(D) - Method in class org.xnio.AbstractConvertingIoFuture
-
- copy(ByteBuffer, int, BufferAllocator<ByteBuffer>) - Static method in class org.xnio.Buffers
-
Copy a portion of the buffer into a newly allocated buffer.
- copy(ByteBuffer, ByteBuffer) - Static method in class org.xnio.Buffers
-
Copy as many bytes as possible from source
into destination
.
- copy(ByteBuffer[], int, int, ByteBuffer) - Static method in class org.xnio.Buffers
-
Copy as many bytes as possible from sources
into destinations
in a "scatter" fashion.
- copy(ByteBuffer, ByteBuffer[], int, int) - Static method in class org.xnio.Buffers
-
Copy as many bytes as possible from sources
into destination
in a "gather" fashion.
- copy(ByteBuffer[], int, int, ByteBuffer[], int, int) - Static method in class org.xnio.Buffers
-
Copy as many bytes as possible from sources
into destinations
by a combined "scatter"/"gather" operation.
- copy(int, ByteBuffer, ByteBuffer) - Static method in class org.xnio.Buffers
-
Copy at most count
bytes from source
into destination
.
- copy(int, ByteBuffer[], int, int, ByteBuffer) - Static method in class org.xnio.Buffers
-
Copy at most count
bytes from sources
into destinations
in a "scatter" fashion.
- copy(int, ByteBuffer, ByteBuffer[], int, int) - Static method in class org.xnio.Buffers
-
Copy at most count
bytes from sources
into destination
in a "gather" fashion.
- copy(long, ByteBuffer[], int, int, ByteBuffer[], int, int) - Static method in class org.xnio.Buffers
-
Copy at most count
bytes from sources
into destinations
by a combined "scatter"/"gather" operation.
- copyOf(byte[], int, int) - Static method in class org.xnio.ByteString
-
Create a byte string from the given array segment.
- copyStream(InputStream, OutputStream, boolean, int) - Static method in class org.xnio.streams.Streams
-
Copy from one stream to another.
- copyStream(InputStream, OutputStream, boolean) - Static method in class org.xnio.streams.Streams
-
Copy from one stream to another.
- copyStream(InputStream, OutputStream) - Static method in class org.xnio.streams.Streams
-
Copy from one stream to another.
- CORK - Static variable in class org.xnio.Options
-
Specify that output should be buffered.
- create() - Method in class org.xnio.Option.SetBuilder
-
Create the immutable option set instance.
- create(Option<T>, T) - Static method in class org.xnio.OptionMap
-
Create a single-valued option map.
- create(Option<T1>, T1, Option<T2>, T2) - Static method in class org.xnio.OptionMap
-
Create a two-valued option map.
- create(SaslClient) - Static method in class org.xnio.sasl.SaslWrapper
-
Create a SASL wrapper for a SASL client.
- create(SaslServer) - Static method in class org.xnio.sasl.SaslWrapper
-
Create a SASL wrapper for a SASL server.
- createDumper(ByteBuffer, int, int) - Static method in class org.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.xnio.Buffers
-
Create an object that returns the dumped form of the given character buffer when its toString()
method is called.
- createLocalStreamServer(LocalSocketAddress, ChannelListener<? super AcceptingChannel<ConnectedStreamChannel>>, OptionMap) - Method in class org.xnio.XnioWorker
-
Implementation helper method to create a UNIX domain stream server.
- createOneWayPipe(ChannelListener<? super StreamSourceChannel>, ChannelListener<? super StreamSinkChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Open a unidirectional stream pipe.
- createPipe(ChannelListener<? super StreamChannel>, ChannelListener<? super StreamChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Open a bidirectional stream pipe.
- createPropertyMap(OptionMap, boolean) - Static method in class org.xnio.sasl.SaslUtils
-
Create a SASL property map from an XNIO option map.
- createSSLContext(OptionMap) - Static method in class org.xnio.ssl.JsseSslUtils
-
Create a new SSL context, configured from an option map.
- createSSLContext(KeyManager[], TrustManager[], SecureRandom, OptionMap) - Static method in class org.xnio.ssl.JsseSslUtils
-
Create a new SSL context, configured from an option map and the given parameters.
- createSSLEngine(SSLContext, OptionMap, InetSocketAddress) - Static method in class org.xnio.ssl.JsseSslUtils
-
Create a new client mode SSL engine, configured from an option map.
- createSslTcpServer(XnioWorker, InetSocketAddress, ChannelListener<? super AcceptingChannel<ConnectedSslStreamChannel>>, OptionMap) - Method in class org.xnio.ssl.JsseXnioSsl
-
- createSslTcpServer(XnioWorker, InetSocketAddress, ChannelListener<? super AcceptingChannel<ConnectedSslStreamChannel>>, OptionMap) - Method in class org.xnio.ssl.XnioSsl
-
Create a bound TCP SSL server.
- createStreamServer(SocketAddress, ChannelListener<? super AcceptingChannel<ConnectedStreamChannel>>, OptionMap) - Method in class org.xnio.XnioWorker
-
Create a stream server, for TCP or UNIX domain servers.
- createTcpServer(InetSocketAddress, ChannelListener<? super AcceptingChannel<ConnectedStreamChannel>>, OptionMap) - Method in class org.xnio.XnioWorker
-
Implementation helper method to create a TCP stream server.
- createUdpServer(InetSocketAddress, ChannelListener<? super MulticastMessageChannel>, OptionMap) - Method in class org.xnio.XnioWorker
-
Create a UDP server.
- createUdpServer(InetSocketAddress, OptionMap) - Method in class org.xnio.XnioWorker
-
Create a UDP server.
- createWorker(OptionMap) - Method in class org.xnio.Xnio
-
Construct a new XNIO worker.
- createWorker(ThreadGroup, OptionMap) - Method in class org.xnio.Xnio
-
Construct a new XNIO worker.
- createWorker(ThreadGroup, OptionMap, Runnable) - Method in class org.xnio.Xnio
-
Construct a new XNIO worker.
- get() - Method in class org.xnio.AbstractConvertingIoFuture
-
- get() - Method in class org.xnio.AbstractIoFuture
-
Get the result of the operation.
- get() - Method in class org.xnio.ChannelListener.SimpleSetter
-
Get the channel listener set on this setter.
- get() - Method in interface org.xnio.IoFuture
-
Get the result of the operation.
- get(Option<T>) - Method in class org.xnio.OptionMap
-
Get the value of an option from this option map.
- get(Option<T>, T) - Method in class org.xnio.OptionMap
-
Get the value of an option from this option map, with a specified default if the value is missing.
- get(Option<Boolean>, boolean) - Method in class org.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.xnio.OptionMap
-
Get a int value from this option map, with a specified default if the value is missing.
- get(Option<Long>, long) - Method in class org.xnio.OptionMap
-
Get a long value from this option map, with a specified default if the value is missing.
- get(int) - Method in class org.xnio.Sequence
-
Get the value at a certain index.
- getAcceptSetter() - Method in interface org.xnio.channels.AcceptingChannel
-
Get the setter which can be used to change the accept listener for this channel.
- getAcceptSetter() - Method in interface org.xnio.channels.SimpleAcceptingChannel
-
Get the setter which can be used to change the accept listener for this channel.
- getAcceptSetter() - Method in interface org.xnio.channels.SuspendableAcceptChannel
-
Get the setter which can be used to change the accept listener for this channel.
- getBuffer(boolean) - Method in interface org.xnio.streams.BufferPipeOutputStream.BufferWriter
-
Get a new buffer to be filled.
- getBytes(String, String) - Static method in class org.xnio.ByteString
-
Get a byte string from the bytes of a character string.
- getBytes(String, Charset) - Static method in class org.xnio.ByteString
-
Get a byte string from the bytes of a character string.
- getBytes(ByteBuffer) - Static method in class org.xnio.ByteString
-
Get a byte string from all remaining bytes of a ByteBuffer.
- getBytes(ByteBuffer, int) - Static method in class org.xnio.ByteString
-
Get a byte string from a ByteBuffer.
- getBytes() - Method in class org.xnio.ByteString
-
Get a copy of the bytes of this ByteString.
- getBytes(byte[]) - Method in class org.xnio.ByteString
-
Copy the bytes of this ByteString into the destination array.
- getBytes(byte[], int) - Method in class org.xnio.ByteString
-
Copy the bytes of this ByteString into the destination array.
- getBytes(byte[], int, int) - Method in class org.xnio.ByteString
-
Copy the bytes of this ByteString into the destination array.
- getChannel() - Method in class org.xnio.channels.FramedMessageChannel
-
Get the underlying channel.
- getChannel() - Method in interface org.xnio.channels.MulticastMessageChannel.Key
-
Return the channel associated with this key.
- getChannel() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Get the channel which is wrapped by this object.
- getChannel() - Method in interface org.xnio.channels.WrappedChannel
-
Get the channel which is wrapped by this object.
- getChannelListenerTask(T, ChannelListener<? super T>) - Static method in class org.xnio.ChannelListeners
-
Get a task which invokes the given channel listener on the given channel.
- getChannels() - Method in interface org.xnio.channels.BoundServerChannel
-
Get the channels representing the individual bound servers.
- getCloseSetter() - Method in interface org.xnio.channels.AcceptingChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.BoundChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.BoundMultipointMessageChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.BoundServerChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.CloseableChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.ConnectedChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.ConnectedMessageChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.ConnectedSslStreamChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.ConnectedStreamChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.MessageChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.MulticastMessageChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.MultipointMessageChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.ReadableMessageChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.ReadableMultipointMessageChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.SimpleAcceptingChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.SslChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.StreamChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.StreamSinkChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.StreamSourceChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.SuspendableAcceptChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.SuspendableChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.SuspendableReadChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.SuspendableWriteChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.WritableMessageChannel
-
Get the setter which can be used to change the close listener for this channel.
- getCloseSetter() - Method in interface org.xnio.channels.WritableMultipointMessageChannel
-
Get the setter which can be used to change the close listener for this channel.
- getDelegate() - Method in class org.xnio.AbstractConvertingIoFuture
-
- getDelegatingSetter(ChannelListener.Setter<? extends Channel>, T) - Static method in class org.xnio.ChannelListeners
-
Get a channel listener setter which delegates to the given target setter with a different channel type.
- getDestinationAddress() - Method in class org.xnio.channels.SocketAddressBuffer
-
Get the destination address.
- getDestinationAddress(Class<A>) - Method in class org.xnio.channels.SocketAddressBuffer
-
Get the destination address.
- getException() - Method in class org.xnio.AbstractConvertingIoFuture
-
- getException() - Method in class org.xnio.AbstractIoFuture
-
Get the failure reason.
- getException() - Method in interface org.xnio.IoFuture
-
Get the failure reason.
- getFuture(IoFuture<T>) - Static method in class org.xnio.IoUtils
-
Get a java.util.concurrent
-style Future
instance wrapper for an IoFuture
instance.
- getGroup() - Method in interface org.xnio.channels.MulticastMessageChannel.Key
-
Return the multicast group for which this key was created.
- getHandshakeSetter() - Method in interface org.xnio.channels.SslChannel
-
Get the setter which can be used to change the handshake listener for this channel.
- getIn() - Method in class org.xnio.streams.Pipe
-
Get the input (read) side of the pipe.
- getInstance(ClassLoader) - Static method in class org.xnio.Xnio
-
Get an XNIO provider instance.
- getInstance() - Static method in class org.xnio.Xnio
-
Get an XNIO provider instance from XNIO's class loader.
- getInstance(String, ClassLoader) - Static method in class org.xnio.Xnio
-
Get a specific XNIO provider instance.
- getInstance(String) - Static method in class org.xnio.Xnio
-
Get a specific XNIO provider instance from XNIO's class loader.
- getInstance() - Method in interface org.xnio.XnioProvider
-
Get the XNIO instance for this provider.
- getInterruptibly() - Method in class org.xnio.AbstractConvertingIoFuture
-
- getInterruptibly() - Method in class org.xnio.AbstractIoFuture
-
Get the result of the operation.
- getInterruptibly() - Method in interface org.xnio.IoFuture
-
Get the result of the operation.
- getIoFuture() - Method in class org.xnio.FutureResult
-
Get the IoFuture
for this manager.
- getKey() - Method in class org.xnio.Property
-
Get the key of this key/value Property.
- getLocalAddress() - Method in interface org.xnio.channels.BoundChannel
-
Get the local address that this channel is bound to.
- getLocalAddress(Class<A>) - Method in interface org.xnio.channels.BoundChannel
-
Get the local address of a given type, or null
if the address is not of that
type.
- getLocalAddress() - Method in class org.xnio.channels.FramedMessageChannel
-
Get the local address that this channel is bound to.
- getLocalAddress(Class<A>) - Method in class org.xnio.channels.FramedMessageChannel
-
Get the local address of a given type, or null
if the address is not of that
type.
- getManagerNotifier() - Static method in class org.xnio.IoUtils
-
Get a notifier which forwards the result to another IoFuture
's manager.
- getMap() - Method in class org.xnio.OptionMap.Builder
-
Build a map that reflects the current state of this builder.
- getModifiedUtf8(ByteBuffer) - Static method in class org.xnio.Buffers
-
Get a modified UTF-8 string from the remainder of the buffer.
- getModifiedUtf8Z(ByteBuffer) - Static method in class org.xnio.Buffers
-
Get a 0-terminated string from the byte buffer, decoding it using "modified UTF-8" encoding.
- getName() - Method in class org.xnio.LocalSocketAddress
-
Get the name (filesystem path) of this local socket address.
- getName() - Method in class org.xnio.Option
-
Get the name of this option.
- getName() - Method in class org.xnio.Xnio
-
Get the name of this XNIO provider.
- getName() - Method in interface org.xnio.XnioProvider
-
Get the provider name.
- getName() - Method in class org.xnio.XnioWorker
-
Get the name of this worker.
- getNetworkInterface() - Method in interface org.xnio.channels.MulticastMessageChannel.Key
-
Return the network interface for which this key was created.
- getNotifierExecutor() - Method in class org.xnio.AbstractIoFuture
-
Get the executor used to run asynchronous notifiers.
- getOption(Configurable, Option<T>, T) - Static method in class org.xnio.channels.Channels
-
Get an option value from a configurable target.
- getOption(Configurable, Option<Boolean>, boolean) - Static method in class org.xnio.channels.Channels
-
Get an option value from a configurable target.
- getOption(Configurable, Option<Integer>, int) - Static method in class org.xnio.channels.Channels
-
Get an option value from a configurable target.
- getOption(Configurable, Option<Long>, long) - Static method in class org.xnio.channels.Channels
-
Get an option value from a configurable target.
- getOption(Option<T>) - Method in interface org.xnio.channels.Configurable
-
Get the value of a channel option.
- getOption(Option<T>) - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Get the value of a channel option.
- getOption(Option<T>) - Method in class org.xnio.XnioWorker
-
- getOut() - Method in class org.xnio.streams.Pipe
-
Get the output (write) side of the pipe.
- getPeerAddress() - Method in interface org.xnio.channels.ConnectedChannel
-
Get the peer address of this channel.
- getPeerAddress(Class<A>) - Method in interface org.xnio.channels.ConnectedChannel
-
Get the peer address of a given type, or null
if the address is not of that
type.
- getPeerAddress() - Method in class org.xnio.channels.FramedMessageChannel
-
Get the peer address of this channel.
- getPeerAddress(Class<A>) - Method in class org.xnio.channels.FramedMessageChannel
-
Get the peer address of a given type, or null
if the address is not of that
type.
- getProperty(String) - Method in class org.xnio.Xnio
-
Get an XNIO property.
- getProperty(String, String) - Method in class org.xnio.Xnio
-
Get an XNIO property.
- getReadSetter() - Method in interface org.xnio.channels.BoundMultipointMessageChannel
-
Get the setter which can be used to change the read listener for this channel.
- getReadSetter() - Method in interface org.xnio.channels.ConnectedMessageChannel
-
Get the setter which can be used to change the read listener for this channel.
- getReadSetter() - Method in interface org.xnio.channels.ConnectedSslStreamChannel
-
Get the setter which can be used to change the read listener for this channel.
- getReadSetter() - Method in interface org.xnio.channels.ConnectedStreamChannel
-
Get the setter which can be used to change the read listener for this channel.
- getReadSetter() - Method in interface org.xnio.channels.MessageChannel
-
Get the setter which can be used to change the read listener for this channel.
- getReadSetter() - Method in interface org.xnio.channels.MulticastMessageChannel
-
Get the setter which can be used to change the read listener for this channel.
- getReadSetter() - Method in interface org.xnio.channels.MultipointMessageChannel
-
Get the setter which can be used to change the read listener for this channel.
- getReadSetter() - Method in interface org.xnio.channels.ReadableMessageChannel
-
Get the setter which can be used to change the read listener for this channel.
- getReadSetter() - Method in interface org.xnio.channels.ReadableMultipointMessageChannel
-
Get the setter which can be used to change the read listener for this channel.
- getReadSetter() - Method in interface org.xnio.channels.StreamChannel
-
Get the setter which can be used to change the read listener for this channel.
- getReadSetter() - Method in interface org.xnio.channels.StreamSourceChannel
-
Get the setter which can be used to change the read listener for this channel.
- getReadSetter() - Method in interface org.xnio.channels.SuspendableChannel
-
Get the setter which can be used to change the read listener for this channel.
- getReadSetter() - Method in interface org.xnio.channels.SuspendableReadChannel
-
Get the setter which can be used to change the read listener for this channel.
- getReadSetter() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Get the setter which can be used to change the read listener for this channel.
- getReadThread() - Method in interface org.xnio.channels.SuspendableReadChannel
-
Get the read thread for this channel.
- getReadThread() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
- getReadTimeout(TimeUnit) - Method in class org.xnio.streams.BufferedChannelInputStream
-
Get the read timeout.
- getReadTimeout(TimeUnit) - Method in class org.xnio.streams.ChannelInputStream
-
Get the read timeout.
- getResource() - Method in interface org.xnio.Pooled
-
Get the pooled resource.
- getRetryingChannelSource(ChannelSource<T>, int) - Static method in class org.xnio.IoUtils
-
A channel source which tries to acquire a channel from a delegate channel source the given number of times before
giving up.
- getSaslClientFactories(ClassLoader, boolean) - Static method in class org.xnio.sasl.SaslUtils
-
Returns an iterator of all of the registered SaslClientFactory
s where the order is based on the
order of the Provider registration and/or class path order.
- getSaslClientFactories() - Static method in class org.xnio.sasl.SaslUtils
-
Returns an iterator of all of the registered SaslClientFactory
s where the order is based on the
order of the Provider registration and/or class path order.
- getSaslServerFactories(ClassLoader, boolean) - Static method in class org.xnio.sasl.SaslUtils
-
Returns an iterator of all of the registered SaslServerFactory
s where the order is based on the
order of the Provider registration and/or class path order.
- getSaslServerFactories() - Static method in class org.xnio.sasl.SaslUtils
-
Returns an iterator of all of the registered SaslServerFactory
s where the order is based on the
order of the Provider registration and/or class path order.
- getSetter(C, AtomicReferenceFieldUpdater<C, ChannelListener>) - Static method in class org.xnio.ChannelListeners
-
Get a setter based on an atomic reference field updater.
- getSetter(AtomicReference<ChannelListener<? super T>>) - Static method in class org.xnio.ChannelListeners
-
Get a setter based on an atomic reference.
- getSourceAddress() - Method in interface org.xnio.channels.MulticastMessageChannel.Key
-
Return the source address if this membership key is source specific, or null
if this membership is not
source specific.
- getSourceAddress() - Method in class org.xnio.channels.SocketAddressBuffer
-
Get the source address.
- getSourceAddress(Class<A>) - Method in class org.xnio.channels.SocketAddressBuffer
-
Get the source address.
- getSslContext() - Method in class org.xnio.ssl.JsseXnioSsl
-
Get the JSSE SSL context for this provider instance.
- getSslProvider(OptionMap) - Method in class org.xnio.Xnio
-
Get an SSL provider for this XNIO provider.
- getSslProvider(KeyManager[], TrustManager[], OptionMap) - Method in class org.xnio.Xnio
-
Get an SSL provider for this XNIO provider.
- getSslSession() - Method in interface org.xnio.channels.SslChannel
-
Get the current SSLSession
for this channel.
- getStatus() - Method in class org.xnio.AbstractConvertingIoFuture
-
- getStatus() - Method in class org.xnio.AbstractIoFuture
-
Get the current status.
- getStatus() - Method in interface org.xnio.IoFuture
-
Get the current status.
- getString() - Method in enum org.xnio.sasl.SaslQop
-
Get the string representation of this SASL QOP value.
- getTerminationTask() - Method in class org.xnio.XnioWorker
-
Get the user task to run once termination is complete.
- getThreadLocalRandom() - Static method in class org.xnio.IoUtils
-
Get a thread-local RNG.
- getValue() - Method in class org.xnio.Property
-
Get the value of this key/value Property.
- getValue$$bridger() - Method in class org.xnio.Property
-
Get the value of this key/value Property.
- getVersionString() - Static method in class org.xnio.Version
-
Get the version string.
- getWorker() - Method in interface org.xnio.channels.CloseableChannel
-
Get the worker for this channel.
- getWorker() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Get the worker for this channel.
- getWriteSetter() - Method in interface org.xnio.channels.BoundMultipointMessageChannel
-
Get the setter which can be used to change the write listener for this channel.
- getWriteSetter() - Method in interface org.xnio.channels.ConnectedMessageChannel
-
Get the setter which can be used to change the write listener for this channel.
- getWriteSetter() - Method in interface org.xnio.channels.ConnectedSslStreamChannel
-
Get the setter which can be used to change the write listener for this channel.
- getWriteSetter() - Method in interface org.xnio.channels.ConnectedStreamChannel
-
Get the setter which can be used to change the write listener for this channel.
- getWriteSetter() - Method in interface org.xnio.channels.MessageChannel
-
Get the setter which can be used to change the write listener for this channel.
- getWriteSetter() - Method in interface org.xnio.channels.MulticastMessageChannel
-
Get the setter which can be used to change the write listener for this channel.
- getWriteSetter() - Method in interface org.xnio.channels.MultipointMessageChannel
-
Get the setter which can be used to change the write listener for this channel.
- getWriteSetter() - Method in interface org.xnio.channels.StreamChannel
-
Get the setter which can be used to change the write listener for this channel.
- getWriteSetter() - Method in interface org.xnio.channels.StreamSinkChannel
-
Get the setter which can be used to change the write listener for this channel.
- getWriteSetter() - Method in interface org.xnio.channels.SuspendableChannel
-
Get the setter which can be used to change the write listener for this channel.
- getWriteSetter() - Method in interface org.xnio.channels.SuspendableWriteChannel
-
Get the setter which can be used to change the write listener for this channel.
- getWriteSetter() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Get the setter which can be used to change the write listener for this channel.
- getWriteSetter() - Method in interface org.xnio.channels.WritableMessageChannel
-
Get the setter which can be used to change the write listener for this channel.
- getWriteSetter() - Method in interface org.xnio.channels.WritableMultipointMessageChannel
-
Get the setter which can be used to change the write listener for this channel.
- getWriteThread() - Method in interface org.xnio.channels.SuspendableWriteChannel
-
Get the write thread for this channel.
- getWriteThread() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
- getWriteTimeout(TimeUnit) - Method in class org.xnio.streams.ChannelOutputStream
-
Get the write timeout.
- getXnio() - Method in class org.xnio.XnioWorker
-
Get the XNIO provider which produced this worker.
- read(ByteBuffer[], int, int) - Method in class org.xnio.channels.BlockingByteChannel
-
Perform a blocking, scattering read operation.
- read(ByteBuffer[]) - Method in class org.xnio.channels.BlockingByteChannel
-
Perform a blocking, scattering read operation.
- read(ByteBuffer) - Method in class org.xnio.channels.BlockingByteChannel
-
Perform a blocking read operation.
- read(ByteBuffer[], int, int) - Method in class org.xnio.channels.BlockingReadableByteChannel
-
Perform a blocking, scattering read operation.
- read(ByteBuffer[]) - Method in class org.xnio.channels.BlockingReadableByteChannel
-
Perform a blocking, scattering read operation.
- read(ByteBuffer) - Method in class org.xnio.channels.BlockingReadableByteChannel
-
Perform a blocking read operation.
- read() - Method in class org.xnio.streams.BufferedChannelInputStream
-
Read a byte, blocking if necessary.
- read(byte[], int, int) - Method in class org.xnio.streams.BufferedChannelInputStream
-
Read bytes into an array.
- read() - Method in class org.xnio.streams.BufferPipeInputStream
- read(byte[], int, int) - Method in class org.xnio.streams.BufferPipeInputStream
- read() - Method in class org.xnio.streams.ChannelInputStream
- read(byte[]) - Method in class org.xnio.streams.ChannelInputStream
- read(byte[], int, int) - Method in class org.xnio.streams.ChannelInputStream
- read() - Method in class org.xnio.streams.LimitedInputStream
- read(byte[], int, int) - Method in class org.xnio.streams.LimitedInputStream
- read() - Method in class org.xnio.streams.ReaderInputStream
- read(byte[], int, int) - Method in class org.xnio.streams.ReaderInputStream
- READ_TIMEOUT - Static variable in class org.xnio.Options
-
Configure a read timeout for a socket, in milliseconds.
- ReadableMessageChannel - Interface in org.xnio.channels
-
A channel that can receive messages.
- ReadableMultipointMessageChannel - Interface in org.xnio.channels
-
The readable side of a multipoint message channel.
- readAscii(ByteBuffer, StringBuilder) - Static method in class org.xnio.Buffers
-
Read the remainder of a buffer as ASCII text, appending the results to the given string
builder.
- readAscii(ByteBuffer, StringBuilder, char) - Static method in class org.xnio.Buffers
-
Read the remainder of a buffer as ASCII text, appending the results to the given string
builder.
- readAscii(ByteBuffer, StringBuilder, int, char) - Static method in class org.xnio.Buffers
-
Read the remainder of a buffer as ASCII text, up to a certain limit, appending the results to the given string
builder.
- readAsciiLine(ByteBuffer, StringBuilder) - Static method in class org.xnio.Buffers
-
Read a single line of ASCII text from a byte buffer, appending the results to the given string
builder.
- readAsciiLine(ByteBuffer, StringBuilder, char) - Static method in class org.xnio.Buffers
-
Read a single line of ASCII text from a byte buffer, appending the results to the given string
builder.
- readAsciiLine(ByteBuffer, StringBuilder, char, char) - Static method in class org.xnio.Buffers
-
Read a single line of ASCII text from a byte buffer, appending the results to the given string
builder, using the given delimiter character instead of EOL
.
- readAsciiZ(ByteBuffer, StringBuilder) - Static method in class org.xnio.Buffers
-
Read an ASCIIZ (NUL
-terminated) string from a byte buffer, appending the results to the given string
builder.
- readAsciiZ(ByteBuffer, StringBuilder, char) - Static method in class org.xnio.Buffers
-
Read an ASCIIZ (NUL
-terminated) string from a byte buffer, appending the results to the given string
builder.
- readBlocking(C, ByteBuffer) - Static method in class org.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.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.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.xnio.channels.Channels
-
Simple utility method to execute a blocking read on a scattering byte channel with a timeout.
- ReaderInputStream - Class in org.xnio.streams
-
An input stream which encodes characters into bytes.
- ReaderInputStream(Reader) - Constructor for class org.xnio.streams.ReaderInputStream
-
Construct a new instance.
- ReaderInputStream(Reader, String) - Constructor for class org.xnio.streams.ReaderInputStream
-
Construct a new instance.
- ReaderInputStream(Reader, Charset) - Constructor for class org.xnio.streams.ReaderInputStream
-
Construct a new instance.
- ReaderInputStream(Reader, CharsetEncoder) - Constructor for class org.xnio.streams.ReaderInputStream
-
Construct a new instance.
- ReaderInputStream(Reader, CharsetEncoder, int) - Constructor for class org.xnio.streams.ReaderInputStream
-
Construct a new instance.
- readLatin1(ByteBuffer, StringBuilder) - Static method in class org.xnio.Buffers
-
Read the remainder of a buffer as Latin-1 text, appending the results to the given string
builder.
- readLatin1Line(ByteBuffer, StringBuilder) - Static method in class org.xnio.Buffers
-
Read a single line of Latin-1 text from a byte buffer, appending the results to the given string
builder.
- readLatin1Line(ByteBuffer, StringBuilder, char) - Static method in class org.xnio.Buffers
-
Read a single line of Latin-1 text from a byte buffer, appending the results to the given string
builder.
- readLatin1Z(ByteBuffer, StringBuilder) - Static method in class org.xnio.Buffers
-
Read a NUL
-terminated Latin-1 string from a byte buffer, appending the results to the given string
builder.
- readLine(ByteBuffer, StringBuilder, CharsetDecoder) - Static method in class org.xnio.Buffers
-
Read a single line of text from a byte buffer, appending the results to the given string
builder.
- readLine(ByteBuffer, StringBuilder, CharsetDecoder, char) - Static method in class org.xnio.Buffers
-
Read a single line of text from a byte buffer, appending the results to the given string
builder.
- readModifiedUtf8Line(ByteBuffer, StringBuilder) - Static method in class org.xnio.Buffers
-
Read a single line of
modified UTF-8
text from a byte buffer, appending the results to the given string
builder.
- readModifiedUtf8Line(ByteBuffer, StringBuilder, char) - Static method in class org.xnio.Buffers
-
Read a single line of
modified UTF-8
text from a byte buffer, appending the results to the given string
builder.
- readModifiedUtf8Line(ByteBuffer, StringBuilder, char, char) - Static method in class org.xnio.Buffers
-
Read a single line of
modified UTF-8
text from a byte buffer, appending the results to the given string
builder.
- readModifiedUtf8Z(ByteBuffer, StringBuilder) - Static method in class org.xnio.Buffers
-
Read a
NUL
-terminated
modified UTF-8
string from a byte buffer, appending the results to the given string
builder.
- readModifiedUtf8Z(ByteBuffer, StringBuilder, char) - Static method in class org.xnio.Buffers
-
Read a
NUL
-terminated
modified UTF-8
string from a byte buffer, appending the results to the given string
builder.
- readRequiresWrite() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Indicate if the channel is not readable until the write handler is called.
- readResolve() - Method in class org.xnio.Option
-
Resolve this instance for serialization.
- ReadTimeoutException - Exception in org.xnio.channels
-
Thrown when a blocking read operation times out.
- ReadTimeoutException() - Constructor for exception org.xnio.channels.ReadTimeoutException
-
Constructs a ReadTimeoutException
with no detail message.
- ReadTimeoutException(String) - Constructor for exception org.xnio.channels.ReadTimeoutException
-
Constructs a ReadTimeoutException
with the specified detail message.
- ReadTimeoutException(Throwable) - Constructor for exception org.xnio.channels.ReadTimeoutException
-
Constructs a ReadTimeoutException
with the specified cause.
- ReadTimeoutException(String, Throwable) - Constructor for exception org.xnio.channels.ReadTimeoutException
-
Constructs a ReadTimeoutException
with the specified detail message and cause.
- receive(ByteBuffer) - Method in class org.xnio.channels.FramedMessageChannel
-
Receive a message.
- receive(ByteBuffer[]) - Method in class org.xnio.channels.FramedMessageChannel
-
Receive a message.
- receive(ByteBuffer[], int, int) - Method in class org.xnio.channels.FramedMessageChannel
-
Receive a message.
- receive(ByteBuffer) - Method in interface org.xnio.channels.ReadableMessageChannel
-
Receive a message.
- receive(ByteBuffer[]) - Method in interface org.xnio.channels.ReadableMessageChannel
-
Receive a message.
- receive(ByteBuffer[], int, int) - Method in interface org.xnio.channels.ReadableMessageChannel
-
Receive a message.
- RECEIVE_BUFFER - Static variable in class org.xnio.Options
-
The receive buffer size.
- receiveBlocking(C, ByteBuffer) - Static method in class org.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.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.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.xnio.channels.Channels
-
Simple utility method to execute a blocking receive on a readable message channel with a timeout.
- receiveFrom(SocketAddressBuffer, ByteBuffer) - Method in interface org.xnio.channels.ReadableMultipointMessageChannel
-
Receive a message via this channel.
- receiveFrom(SocketAddressBuffer, ByteBuffer[]) - Method in interface org.xnio.channels.ReadableMultipointMessageChannel
-
Receive a message.
- receiveFrom(SocketAddressBuffer, ByteBuffer[], int, int) - Method in interface org.xnio.channels.ReadableMultipointMessageChannel
-
Receive a message.
- remaining(Buffer[], int, int) - Static method in class org.xnio.Buffers
-
Get the total remaining size of all the given buffers.
- remaining(Buffer[]) - Static method in class org.xnio.Buffers
-
Get the total remaining size of all the given buffers.
- remove() - Method in interface org.xnio.XnioExecutor.Key
-
Remove a previously-submitted task.
- removeReadRequiresExternal() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Indicate that one external read task was completed.
- removeWriteRequiresExternal() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Indicate that one external write task was completed.
- reset(T) - Static method in class org.xnio.Buffers
-
Reset the buffer.
- reset() - Method in class org.xnio.streams.LimitedInputStream
- Result<T> - Interface in org.xnio
-
A handler for the result of an operation.
- resultNotifier() - Static method in class org.xnio.IoUtils
-
Get the result notifier.
- resumeAccepts() - Method in interface org.xnio.channels.SuspendableAcceptChannel
-
Resume reads on this channel.
- resumeReads() - Method in interface org.xnio.channels.SuspendableReadChannel
-
Resume reads on this channel.
- resumeReads() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Resume reads on this channel.
- resumeWrites() - Method in interface org.xnio.channels.SuspendableWriteChannel
-
Resume writes on this channel.
- resumeWrites() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Resume writes on this channel.
- REUSE_ADDRESSES - Static variable in class org.xnio.Options
-
Configure an IP socket to reuse addresses.
- rewind(T) - Static method in class org.xnio.Buffers
-
Rewind the buffer.
- run() - Method in class org.xnio.Closer
-
- runnableNotifier(Runnable) - Static method in class org.xnio.IoUtils
-
Get a notifier that runs the supplied action.
- runNotifier(Runnable) - Method in class org.xnio.AbstractIoFuture
-
Run a notifier.
- safeClose(Closeable) - Static method in class org.xnio.IoUtils
-
Close a resource, logging an error if an error occurs.
- safeClose(Socket) - Static method in class org.xnio.IoUtils
-
Close a resource, logging an error if an error occurs.
- safeClose(DatagramSocket) - Static method in class org.xnio.IoUtils
-
Close a resource, logging an error if an error occurs.
- safeClose(Selector) - Static method in class org.xnio.IoUtils
-
Close a resource, logging an error if an error occurs.
- safeClose(ServerSocket) - Static method in class org.xnio.IoUtils
-
Close a resource, logging an error if an error occurs.
- safeClose(ZipFile) - Static method in class org.xnio.IoUtils
-
Close a resource, logging an error if an error occurs.
- safeClose(Handler) - Static method in class org.xnio.IoUtils
-
Close a resource, logging an error if an error occurs.
- safeClose(IoFuture<? extends Closeable>) - Static method in class org.xnio.IoUtils
-
Close a future resource, logging an error if an error occurs.
- safeShutdownReads(SuspendableReadChannel) - Static method in class org.xnio.IoUtils
-
Safely shutdown reads on the given channel.
- SASL_DISALLOWED_MECHANISMS - Static variable in class org.xnio.Options
-
A list of disallowed SASL mechanisms.
- SASL_MECHANISMS - Static variable in class org.xnio.Options
-
A list of SASL mechanisms, in decreasing order of preference.
- SASL_POLICY_FORWARD_SECRECY - Static variable in class org.xnio.Options
-
Specify whether SASL mechanisms which implement forward secrecy between sessions are required.
- SASL_POLICY_NOACTIVE - Static variable in class org.xnio.Options
-
Specify whether SASL mechanisms which are susceptible to active (non-dictionary) attacks are permitted.
- SASL_POLICY_NOANONYMOUS - Static variable in class org.xnio.Options
-
Specify whether SASL mechanisms which accept anonymous logins are permitted.
- SASL_POLICY_NODICTIONARY - Static variable in class org.xnio.Options
-
Specify whether SASL mechanisms which are susceptible to passive dictionary attacks are permitted.
- SASL_POLICY_NOPLAINTEXT - Static variable in class org.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.xnio.Options
-
Specify whether SASL mechanisms which pass client credentials are required.
- SASL_PROPERTIES - Static variable in class org.xnio.Options
-
A list of provider specific SASL properties.
- SASL_QOP - Static variable in class org.xnio.Options
-
Specify the SASL quality-of-protection to use.
- SASL_REUSE - Static variable in class org.xnio.Options
-
Specify whether SASL mechanisms should attempt to reuse authenticated session information.
- SASL_SERVER_AUTH - Static variable in class org.xnio.Options
-
Specify whether the SASL server must authenticate to the client.
- SASL_STRENGTH - Static variable in class org.xnio.Options
-
Specify the SASL cipher strength to use.
- SaslQop - Enum in org.xnio.sasl
-
The SASL quality-of-protection value.
- SaslStrength - Enum in org.xnio.sasl
-
The SASL cipher strength value.
- SaslUtils - Class in org.xnio.sasl
-
Utility methods for handling SASL authentication using NIO-style programming methods.
- SaslWrapper - Class in org.xnio.sasl
-
A wrapper delegation class for SASL that presents the same wrap/unwrap API regardless of whether it is
dealing with a SASL client or server.
- SaslWrapper() - Constructor for class org.xnio.sasl.SaslWrapper
-
- SECURE - Static variable in class org.xnio.Options
-
Determine whether the channel is encrypted, or employs some other level of security.
- secureBufferPool(Pool<ByteBuffer>) - Static method in class org.xnio.Buffers
-
A byte buffer pool which zeroes the content of the buffer before re-pooling it.
- send(ByteBuffer) - Method in class org.xnio.channels.FramedMessageChannel
-
Send a complete message.
- send(ByteBuffer[]) - Method in class org.xnio.channels.FramedMessageChannel
-
Send a complete message.
- send(ByteBuffer[], int, int) - Method in class org.xnio.channels.FramedMessageChannel
-
Send a complete message.
- send(ByteBuffer) - Method in interface org.xnio.channels.WritableMessageChannel
-
Send a complete message.
- send(ByteBuffer[]) - Method in interface org.xnio.channels.WritableMessageChannel
-
Send a complete message.
- send(ByteBuffer[], int, int) - Method in interface org.xnio.channels.WritableMessageChannel
-
Send a complete message.
- SEND_BUFFER - Static variable in class org.xnio.Options
-
The send buffer size.
- sendBlocking(C, ByteBuffer) - Static method in class org.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.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.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.xnio.channels.Channels
-
Simple utility method to execute a blocking gathering send on a message channel with a timeout.
- sendTo(SocketAddress, ByteBuffer) - Method in interface org.xnio.channels.WritableMultipointMessageChannel
-
Send a buffer to a destination.
- sendTo(SocketAddress, ByteBuffer[]) - Method in interface org.xnio.channels.WritableMultipointMessageChannel
-
Send a message with data from multiple buffers to a destination.
- sendTo(SocketAddress, ByteBuffer[], int, int) - Method in interface org.xnio.channels.WritableMultipointMessageChannel
-
Send a message with data from multiple buffers to a destination.
- sequence(Class<?>, String, Class<T>) - Static method in class org.xnio.Option
-
Create an option with a sequence type.
- Sequence<T> - Class in org.xnio
-
An immutable sequence of elements.
- set(ChannelListener<? super T>) - Method in interface org.xnio.ChannelListener.Setter
-
Set the listener, or null
to ignore the associated event type.
- set(ChannelListener<? super T>) - Method in class org.xnio.ChannelListener.SimpleSetter
-
Set the listener, or null
to ignore the associated event type.
- set(Option<T>, T) - Method in class org.xnio.OptionMap.Builder
-
Set a key-value pair.
- set(Option<Integer>, int) - Method in class org.xnio.OptionMap.Builder
-
Set an int value for an Integer key.
- set(Option<Long>, long) - Method in class org.xnio.OptionMap.Builder
-
Set a long value for a Long key.
- set(Option<Boolean>, boolean) - Method in class org.xnio.OptionMap.Builder
-
Set a boolean value for a Boolean key.
- setAcceptListener(T, ChannelListener<? super T>) - Static method in class org.xnio.channels.Channels
-
Set the accept listener for a channel (type-safe).
- setBuilder() - Static method in class org.xnio.Option
-
Create a builder for an immutable option set.
- setCancelled() - Method in class org.xnio.AbstractIoFuture
-
Acknowledge the cancellation of this operation.
- setCancelled() - Method in class org.xnio.FutureResult
-
Acknowledge the cancellation of this operation.
- setCancelled() - Method in interface org.xnio.Result
-
Acknowledge the cancellation of this operation.
- setCancelled() - Method in class org.xnio.TranslatingResult
-
- setClosed() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Set both the channel read and write shut down flags.
- setCloseListener(T, ChannelListener<? super T>) - Static method in class org.xnio.channels.Channels
-
Set the close listener for a channel (type-safe).
- setDestinationAddress(SocketAddress) - Method in class org.xnio.channels.SocketAddressBuffer
-
Set the destination address.
- setException(IOException) - Method in class org.xnio.AbstractIoFuture
-
Set the exception for this operation.
- setException(IOException) - Method in class org.xnio.FutureResult
-
Set the exception for this operation.
- setException(IOException) - Method in interface org.xnio.Result
-
Set the exception for this operation.
- setException(IOException) - Method in class org.xnio.TranslatingResult
-
- setOption(Option<T>, T) - Method in interface org.xnio.channels.Configurable
-
Set an option for this channel.
- setOption(Option<T>, T) - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Set an option for this channel.
- setOption(Option<T>, T) - Method in class org.xnio.XnioWorker
-
- setReadListener(T, ChannelListener<? super T>) - Static method in class org.xnio.channels.Channels
-
Set the read listener for a channel (type-safe).
- setReadReady() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Indicate that the channel is definitely immediately readable, regardless of the underlying channel state.
- setReadRequiresWrite() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Indicate that the channel will not be readable until the write handler is called.
- setReadShutDown() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Set the channel read shut down flag.
- setReadTimeout(long, TimeUnit) - Method in class org.xnio.channels.BlockingByteChannel
-
Set the read timeout.
- setReadTimeout(long, TimeUnit) - Method in class org.xnio.channels.BlockingReadableByteChannel
-
Set the read timeout.
- setReadTimeout(long, TimeUnit) - Method in class org.xnio.streams.BufferedChannelInputStream
-
Set the read timeout.
- setReadTimeout(long, TimeUnit) - Method in class org.xnio.streams.ChannelInputStream
-
Set the read timeout.
- setResult(T) - Method in class org.xnio.AbstractIoFuture
-
Set the result for this operation.
- setResult(T) - Method in class org.xnio.FutureResult
-
Set the result for this operation.
- setResult(T) - Method in interface org.xnio.Result
-
Set the result for this operation.
- setResult(T) - Method in class org.xnio.TranslatingResult
-
- setSequence(Option<Sequence<Integer>>, int...) - Method in class org.xnio.OptionMap.Builder
-
Set int values for an Integer sequence key.
- setSequence(Option<Sequence<Long>>, long...) - Method in class org.xnio.OptionMap.Builder
-
Set long values for a Long sequence key.
- setSequence(Option<Sequence<Boolean>>, boolean...) - Method in class org.xnio.OptionMap.Builder
-
Set boolean values for an Boolean sequence key.
- setSequence(Option<Sequence<T>>, T...) - Method in class org.xnio.OptionMap.Builder
-
Set a key-value pair, where the value is a sequence type.
- setSourceAddress(SocketAddress) - Method in class org.xnio.channels.SocketAddressBuffer
-
Set the source address.
- setWriteListener(T, ChannelListener<? super T>) - Static method in class org.xnio.channels.Channels
-
Set the write listener for a channel (type-safe).
- setWriteReady() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Indicate that the channel is definitely immediately writable, regardless of the underlying channel state.
- setWriteRequiresRead() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Indicate that the channel will not be writable until the read handler is called.
- setWriteShutDown() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Set the channel write shut down flag.
- setWriteTimeout(long, TimeUnit) - Method in class org.xnio.channels.BlockingByteChannel
-
Set the write timeout.
- setWriteTimeout(long, TimeUnit) - Method in class org.xnio.channels.BlockingWritableByteChannel
-
Set the write timeout.
- setWriteTimeout(long, TimeUnit) - Method in class org.xnio.streams.ChannelOutputStream
-
Set the write timeout.
- shortFromBytesBE(byte[], int) - Static method in class org.xnio.Bits
-
Get a 16-bit signed big-endian short value from a byte array.
- shortFromBytesLE(byte[], int) - Static method in class org.xnio.Bits
-
Get a 16-bit signed little-endian short value from a byte array.
- shutdown() - Method in class org.xnio.XnioWorker
-
- shutdownNow() - Method in class org.xnio.XnioWorker
-
- shutdownReads() - Method in interface org.xnio.channels.SuspendableReadChannel
-
Places this readable channel at "end of stream".
- shutdownReads() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Perform the read shutdown action if it hasn't been performed already.
- shutdownReadsAction(boolean) - Method in class org.xnio.channels.FramedMessageChannel
-
- shutdownReadsAction(boolean) - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
The action to perform when reads are shut down.
- shutDownTaskPool() - Method in class org.xnio.XnioWorker
-
Initiate shutdown of the task thread pool.
- shutDownTaskPoolNow() - Method in class org.xnio.XnioWorker
-
Shut down the task thread pool immediately and return its pending tasks.
- shutdownWrites() - Method in interface org.xnio.channels.SuspendableWriteChannel
-
Indicate that writing is complete for this channel.
- shutdownWrites() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Base implementation method which simply delegates the shutdown request to the delegate channel.
- shutdownWritesAction() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
The action to perform when writes are requested to be shut down.
- shutdownWritesBlocking(SuspendableWriteChannel) - Static method in class org.xnio.channels.Channels
-
Simple utility method to execute a blocking write shutdown on a writable channel.
- shutdownWritesComplete(boolean) - Method in class org.xnio.channels.FramedMessageChannel
-
- shutdownWritesComplete(boolean) - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Notification that the channel has successfully flushed after having shut down writes.
- simple(Class<?>, String, Class<T>) - Static method in class org.xnio.Option
-
Create an option with a simple type.
- SimpleAcceptingChannel<C extends CloseableChannel> - Interface in org.xnio.channels
-
A channel which can accept connections.
- size() - Method in class org.xnio.OptionMap
-
Get the number of options stored in this map.
- size() - Method in class org.xnio.Sequence
-
Return the number of elements in this sequence.
- skip(T, int) - Static method in class org.xnio.Buffers
-
Advance a buffer's position relative to its current position.
- skip(long) - Method in class org.xnio.streams.BufferedChannelInputStream
-
Skip bytes in the stream.
- skip(long) - Method in class org.xnio.streams.BufferPipeInputStream
-
- skip(long) - Method in class org.xnio.streams.LimitedInputStream
- skip(long) - Method in class org.xnio.streams.ReaderInputStream
- slice(ByteBuffer, int) - Static method in class org.xnio.Buffers
-
Slice the buffer.
- slice(CharBuffer, int) - Static method in class org.xnio.Buffers
-
Slice the buffer.
- slice(ShortBuffer, int) - Static method in class org.xnio.Buffers
-
Slice the buffer.
- slice(IntBuffer, int) - Static method in class org.xnio.Buffers
-
Slice the buffer.
- slice(LongBuffer, int) - Static method in class org.xnio.Buffers
-
Slice the buffer.
- sliceAllocator(ByteBuffer) - Static method in class org.xnio.Buffers
-
A buffer allocator which allocates slices off of the given buffer.
- SocketAddressBuffer - Class in org.xnio.channels
-
A buffer for source and destination addresses.
- SocketAddressBuffer() - Constructor for class org.xnio.channels.SocketAddressBuffer
-
Construct a new instance.
- SSL_APPLICATION_BUFFER_REGION_SIZE - Static variable in class org.xnio.Options
-
The size of the allocation region to use for SSL application buffers.
- SSL_APPLICATION_BUFFER_SIZE - Static variable in class org.xnio.Options
-
The application buffer size for SSL.
- SSL_CLIENT_AUTH_MODE - Static variable in class org.xnio.Options
-
Specify the SSL client authentication mode.
- SSL_CLIENT_SESSION_CACHE_SIZE - Static variable in class org.xnio.Options
-
The size of the SSL client session cache.
- SSL_CLIENT_SESSION_TIMEOUT - Static variable in class org.xnio.Options
-
The SSL client session timeout (in seconds).
- SSL_ENABLE_SESSION_CREATION - Static variable in class org.xnio.Options
-
Enable or disable session creation for an SSL connection.
- SSL_ENABLED - Static variable in class org.xnio.Options
-
Specify whether SSL should be enabled.
- SSL_ENABLED_CIPHER_SUITES - Static variable in class org.xnio.Options
-
Specify the cipher suites for an SSL/TLS session.
- SSL_ENABLED_PROTOCOLS - Static variable in class org.xnio.Options
-
Specify the enabled protocols for an SSL/TLS session.
- SSL_JSSE_KEY_MANAGER_CLASSES - Static variable in class org.xnio.Options
-
The possible key manager classes to use for a JSSE SSL context.
- SSL_JSSE_TRUST_MANAGER_CLASSES - Static variable in class org.xnio.Options
-
The possible trust store classes to use for a JSSE SSL context.
- SSL_PACKET_BUFFER_REGION_SIZE - Static variable in class org.xnio.Options
-
The size of the allocation region to use for SSL packet buffers.
- SSL_PACKET_BUFFER_SIZE - Static variable in class org.xnio.Options
-
The packet buffer size for SSL.
- SSL_PEER_HOST_NAME - Static variable in class org.xnio.Options
-
Specify the (non-authoritative) name of the peer host to use for the purposes of session reuse, as well as
for the use of certain cipher suites (such as Kerberos).
- SSL_PEER_PORT - Static variable in class org.xnio.Options
-
Specify the (non-authoritative) port number of the peer port number to use for the purposes of session reuse, as well as
for the use of certain cipher suites.
- SSL_PROTOCOL - Static variable in class org.xnio.Options
-
Specify the protocol name for an SSL context.
- SSL_PROVIDER - Static variable in class org.xnio.Options
-
Specify the requested provider for an SSL/TLS session.
- SSL_RNG_OPTIONS - Static variable in class org.xnio.Options
-
The configuration of a secure RNG for SSL usage.
- SSL_SERVER_SESSION_CACHE_SIZE - Static variable in class org.xnio.Options
-
The size of the SSL server session cache.
- SSL_SERVER_SESSION_TIMEOUT - Static variable in class org.xnio.Options
-
The SSL server session timeout (in seconds).
- SSL_STARTTLS - Static variable in class org.xnio.Options
-
Specify whether to use STARTTLS mode (in which a connection starts clear and switches to TLS on demand).
- SSL_SUPPORTED_CIPHER_SUITES - Static variable in class org.xnio.Options
-
Get the supported cipher suites for an SSL/TLS session.
- SSL_SUPPORTED_PROTOCOLS - Static variable in class org.xnio.Options
-
Get the supported protocols for an SSL/TLS session.
- SSL_USE_CLIENT_MODE - Static variable in class org.xnio.Options
-
Specify whether SSL conversations should be in client or server mode.
- SslChannel - Interface in org.xnio.channels
-
A channel which can use SSL/TLS to negotiate a security layer.
- SslClientAuthMode - Enum in org.xnio
-
The desired SSL client authentication mode for SSL channels in server mode.
- sslContext - Variable in class org.xnio.ssl.XnioSsl
-
The SSL context for this instance.
- STACK_SIZE - Static variable in class org.xnio.Options
-
The stack size (in bytes) to attempt to use for worker threads.
- startHandshake() - Method in interface org.xnio.channels.SslChannel
-
Start or restart the SSL/TLS handshake.
- StreamChannel - Interface in org.xnio.channels
-
A stream channel.
- Streams - Class in org.xnio.streams
-
Stream utility class.
- StreamSinkChannel - Interface in org.xnio.channels
-
A stream sink channel.
- StreamSourceChannel - Interface in org.xnio.channels
-
A stream source channel.
- substring(int) - Method in class org.xnio.ByteString
-
Get the substring of this string starting at the given offset.
- substring(int, int) - Method in class org.xnio.ByteString
-
Get the substring of this string starting at the given offset.
- supportsOption(Option<?>) - Method in interface org.xnio.channels.Configurable
-
Determine whether an option is supported on this channel.
- supportsOption(Option<?>) - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Determine whether an option is supported on this channel.
- supportsOption(Option<?>) - Method in class org.xnio.XnioWorker
-
- SuspendableAcceptChannel - Interface in org.xnio.channels
-
A suspendable accept channel.
- SuspendableChannel - Interface in org.xnio.channels
-
A suspendable bidirectional channel.
- SuspendableReadChannel - Interface in org.xnio.channels
-
A suspendable readable channel.
- SuspendableWriteChannel - Interface in org.xnio.channels
-
A suspendable writable channel.
- suspendAccepts() - Method in interface org.xnio.channels.SuspendableAcceptChannel
-
Suspend further read notifications on this channel.
- suspendReads() - Method in interface org.xnio.channels.SuspendableReadChannel
-
Suspend further read notifications on this channel.
- suspendReads() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Suspend further read notifications on this channel.
- suspendWrites() - Method in interface org.xnio.channels.SuspendableWriteChannel
-
Suspend further write notifications on this channel.
- suspendWrites() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Suspend further write notifications on this channel.
- take(ByteBuffer, int) - Static method in class org.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.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.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.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.xnio.Buffers
-
Take a certain number of longs from the buffer and return them in an array.
- take(ByteBuffer) - Static method in class org.xnio.Buffers
-
Take all of the remaining bytes from the buffer and return them in an array.
- take(CharBuffer) - Static method in class org.xnio.Buffers
-
Take all of the remaining chars from the buffer and return them in an array.
- take(ShortBuffer) - Static method in class org.xnio.Buffers
-
Take all of the remaining shorts from the buffer and return them in an array.
- take(IntBuffer) - Static method in class org.xnio.Buffers
-
Take all of the remaining ints from the buffer and return them in an array.
- take(LongBuffer) - Static method in class org.xnio.Buffers
-
Take all of the remaining longs from the buffer and return them in an array.
- taskPoolTerminated() - Method in class org.xnio.XnioWorker
-
Callback to indicate that the task thread pool has terminated.
- TCP_NODELAY - Static variable in class org.xnio.Options
-
Configure a TCP socket to disable Nagle's algorithm.
- TCP_OOB_INLINE - Static variable in class org.xnio.Options
-
Configure a TCP socket to receive out-of-band data alongside regular data.
- thisTyped() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Get this channel, cast to the implemented channel type.
- THREAD_DAEMON - Static variable in class org.xnio.Options
-
Specify whether worker threads should be daemon threads.
- THREAD_PRIORITY - Static variable in class org.xnio.Options
-
The thread priority for newly created worker threads.
- timeout - Variable in class org.xnio.streams.ChannelInputStream
-
- timeout - Variable in class org.xnio.streams.ChannelOutputStream
-
- toArray() - Method in class org.xnio.Sequence
-
Get a copy of the values array.
- toString(String) - Method in class org.xnio.ByteString
-
Convert this byte string to a standard string.
- toString() - Method in class org.xnio.channels.TranslatingSuspendableChannel
- toString() - Method in class org.xnio.LocalSocketAddress
-
Get the string representation of this socket address (its name).
- toString() - Method in class org.xnio.Option
-
Get a human-readable string representation of this object.
- toString() - Method in class org.xnio.OptionMap
-
- toString() - Method in class org.xnio.Property
-
Get the
String
representation of this property.
- toString() - Method in enum org.xnio.sasl.SaslQop
-
Get the human-readable string representation of this SASL QOP value.
- toString() - Method in class org.xnio.streams.ReaderInputStream
-
Get a string representation of this object.
- toString() - Method in class org.xnio.streams.WriterOutputStream
-
Get the string representation of this object.
- toString() - Method in class org.xnio.Xnio
-
Get a string representation of this XNIO provider.
- transfer(ReadableByteChannel, long, ByteBuffer, WritableByteChannel) - Static method in class org.xnio.IoUtils
-
Platform-independent channel-to-channel transfer method.
- transferBlocking(StreamSinkChannel, FileChannel, long, long) - Static method in class org.xnio.channels.Channels
-
Transfer bytes between two channels efficiently, blocking if necessary.
- transferBlocking(FileChannel, StreamSourceChannel, long, long) - Static method in class org.xnio.channels.Channels
-
Transfer bytes between two channels efficiently, blocking if necessary.
- transferFrom(FileChannel, long, long) - Method in interface org.xnio.channels.StreamSinkChannel
-
Transfer bytes into this channel from the given file.
- transferFrom(StreamSourceChannel, long, ByteBuffer) - Method in interface org.xnio.channels.StreamSinkChannel
-
Transfers bytes from the given channel source.
- transferTo(long, long, FileChannel) - Method in interface org.xnio.channels.StreamSourceChannel
-
Transfers bytes into the given file from this channel.
- transferTo(long, ByteBuffer, StreamSinkChannel) - Method in interface org.xnio.channels.StreamSourceChannel
-
Transfers bytes into the given channel target.
- translate(T) - Method in class org.xnio.TranslatingResult
-
- TranslatingResult<T,O> - Class in org.xnio
-
Abstract base class for Result
s which translate from one type to another.
- TranslatingResult(Result<O>) - Constructor for class org.xnio.TranslatingResult
-
- TranslatingSuspendableChannel<C extends SuspendableChannel,W extends SuspendableChannel> - Class in org.xnio.channels
-
An abstract wrapped channel.
- TranslatingSuspendableChannel(W) - Constructor for class org.xnio.channels.TranslatingSuspendableChannel
-
Construct a new instance.
- tryAddReadRequiresExternal() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Indicate that read requires an external task to complete.
- tryAddWriteRequiresExternal() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Indicate that write requires an external task to complete.
- trySkip(Buffer, int) - Static method in class org.xnio.Buffers
-
Attempt to advance a buffer's position relative to its current position.
- trySkip(Buffer[], int, int, long) - Static method in class org.xnio.Buffers
-
Attempt to advance a series of buffers' overall position relative to its current position.
- type(Class<?>, String, Class<T>) - Static method in class org.xnio.Option
-
Create an option with a class type.
- typeSequence(Class<?>, String, Class<T>) - Static method in class org.xnio.Option
-
Create an option with a sequence-of-types type.
- wakeupAccepts() - Method in interface org.xnio.channels.SuspendableAcceptChannel
-
- wakeupReads() - Method in interface org.xnio.channels.SuspendableReadChannel
-
Resume reads
on this channel, and force the read listener to be triggered even if the
channel isn't actually readable.
- wakeupReads() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Resume reads
on this channel, and force the read listener to be triggered even if the
channel isn't actually readable.
- wakeupWrites() - Method in interface org.xnio.channels.SuspendableWriteChannel
-
Resume writes
on this channel, and force the write listener to be triggered even if the
channel isn't actually writable.
- wakeupWrites() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Resume writes
on this channel, and force the write listener to be triggered even if the
channel isn't actually writable.
- WORKER_ACCEPT_THREADS - Static variable in class org.xnio.Options
-
Specify the number of accept threads a single socket server should have.
- WORKER_ESTABLISH_WRITING - Static variable in class org.xnio.Options
-
Specify whether a server, acceptor, or connector should be attached to write threads.
- WORKER_NAME - Static variable in class org.xnio.Options
-
The name to use for a newly created worker.
- WORKER_READ_THREADS - Static variable in class org.xnio.Options
-
Specify the number of read threads to create for the worker.
- WORKER_TASK_CORE_THREADS - Static variable in class org.xnio.Options
-
Specify the number of "core" threads for the worker task thread pool.
- WORKER_TASK_KEEPALIVE - Static variable in class org.xnio.Options
-
Specify the number of milliseconds to keep non-core task threads alive.
- WORKER_TASK_LIMIT - Static variable in class org.xnio.Options
-
Specify the maximum number of worker tasks to allow before rejecting.
- WORKER_TASK_MAX_THREADS - Static variable in class org.xnio.Options
-
Specify the maximum number of threads for the worker task thread pool.
- WORKER_WRITE_THREADS - Static variable in class org.xnio.Options
-
Specify the number of write threads to create for the worker.
- wrap(SaslClient, ByteBuffer, ByteBuffer) - Static method in class org.xnio.sasl.SaslUtils
-
Wrap a message.
- wrap(SaslServer, ByteBuffer, ByteBuffer) - Static method in class org.xnio.sasl.SaslUtils
-
Wrap a message.
- wrap(byte[], int, int) - Method in class org.xnio.sasl.SaslWrapper
-
Wrap a message.
- wrap(byte[]) - Method in class org.xnio.sasl.SaslWrapper
-
Wrap a message.
- wrap(ByteBuffer, ByteBuffer) - Method in class org.xnio.sasl.SaslWrapper
-
Wrap a message.
- wrapByteChannel(ByteChannel) - Static method in class org.xnio.channels.Channels
-
Create a wrapper for a byte channel which does not expose other methods.
- WrappedChannel<C extends Channel> - Interface in org.xnio.channels
-
A wrapped channel.
- WritableMessageChannel - Interface in org.xnio.channels
-
A channel that can send messages.
- WritableMultipointMessageChannel - Interface in org.xnio.channels
-
The writable side of a multipoint message channel.
- write(ByteBuffer[], int, int) - Method in class org.xnio.channels.BlockingByteChannel
-
Perform a blocking, gathering write operation.
- write(ByteBuffer[]) - Method in class org.xnio.channels.BlockingByteChannel
-
Perform a blocking, gathering write operation.
- write(ByteBuffer) - Method in class org.xnio.channels.BlockingByteChannel
-
Perform a blocking write operation.
- write(ByteBuffer[], int, int) - Method in class org.xnio.channels.BlockingWritableByteChannel
-
Perform a blocking, gathering write operation.
- write(ByteBuffer[]) - Method in class org.xnio.channels.BlockingWritableByteChannel
-
Perform a blocking, gathering write operation.
- write(ByteBuffer) - Method in class org.xnio.channels.BlockingWritableByteChannel
-
Perform a blocking write operation.
- write(int) - Method in class org.xnio.streams.BufferPipeOutputStream
- write(byte[], int, int) - Method in class org.xnio.streams.BufferPipeOutputStream
- write(int) - Method in class org.xnio.streams.ChannelOutputStream
- write(byte[]) - Method in class org.xnio.streams.ChannelOutputStream
- write(byte[], int, int) - Method in class org.xnio.streams.ChannelOutputStream
- write(int) - Method in class org.xnio.streams.LimitedOutputStream
- write(byte[], int, int) - Method in class org.xnio.streams.LimitedOutputStream
- write(int) - Method in class org.xnio.streams.WriterOutputStream
- write(byte[], int, int) - Method in class org.xnio.streams.WriterOutputStream
- WRITE_TIMEOUT - Static variable in class org.xnio.Options
-
Configure a write timeout for a socket, in milliseconds.
- writeBlocking(C, ByteBuffer) - Static method in class org.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.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.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.xnio.channels.Channels
-
Simple utility method to execute a blocking write on a gathering byte channel with a timeout.
- writeRequiresRead() - Method in class org.xnio.channels.TranslatingSuspendableChannel
-
Indicate if the channel is not writable until the read handler is called.
- WriterOutputStream - Class in org.xnio.streams
-
An output stream which decodes bytes into a character writer.
- WriterOutputStream(Writer) - Constructor for class org.xnio.streams.WriterOutputStream
-
Construct a new instance.
- WriterOutputStream(Writer, CharsetDecoder) - Constructor for class org.xnio.streams.WriterOutputStream
-
Construct a new instance.
- WriterOutputStream(Writer, CharsetDecoder, int) - Constructor for class org.xnio.streams.WriterOutputStream
-
Construct a new instance.
- WriterOutputStream(Writer, Charset) - Constructor for class org.xnio.streams.WriterOutputStream
-
Construct a new instance.
- WriterOutputStream(Writer, String) - Constructor for class org.xnio.streams.WriterOutputStream
-
Construct a new instance.
- WriteTimeoutException - Exception in org.xnio.channels
-
Thrown when a blocking write operation times out.
- WriteTimeoutException() - Constructor for exception org.xnio.channels.WriteTimeoutException
-
Constructs a WriteTimeoutException
with no detail message.
- WriteTimeoutException(String) - Constructor for exception org.xnio.channels.WriteTimeoutException
-
Constructs a WriteTimeoutException
with the specified detail message.
- WriteTimeoutException(Throwable) - Constructor for exception org.xnio.channels.WriteTimeoutException
-
Constructs a WriteTimeoutException
with the specified cause.
- WriteTimeoutException(String, Throwable) - Constructor for exception org.xnio.channels.WriteTimeoutException
-
Constructs a WriteTimeoutException
with the specified detail message and cause.