# Package org.xnio.conduits

package org.xnio.conduits
The XNIO conduit SPI. Conduits represent the underlying transport and filtering mechanism of point-to-point message- and stream-oriented channels.

Related Packages
Package
Description
org.xnio
The main API package for XNIO.
Class
Description
AbstractConduit<D extends Conduit>
An abstract base class for filtering conduits.
AbstractMessageSinkConduit<D extends MessageSinkConduit>
An abstract base class for filtering message sink conduits.
AbstractMessageSourceConduit<D extends MessageSourceConduit>
An abstract base class for filtering message source conduits.
AbstractSinkConduit<D extends SinkConduit>
An abstract base class for filtering output conduits.
AbstractSourceConduit<D extends SourceConduit>
An abstract base class for filtering source conduits.
AbstractStreamSinkConduit<D extends StreamSinkConduit>
An abstract base class for filtering stream sink conduits.
AbstractStreamSourceConduit<D extends StreamSourceConduit>
An abstract base class for filtering stream source conduits.
AbstractSynchronizedConduit<D extends Conduit>
An abstract synchronized conduit.
AbstractSynchronizedSinkConduit<D extends SinkConduit>
AbstractSynchronizedSourceConduit<D extends SourceConduit>
An abstract synchronized source conduit.
BlockingStreamSinkConduit
BlockingStreamSourceConduit
A stream source conduit which can switch into and out of blocking mode.
BufferedStreamSinkConduit
A stream sink conduit that buffers output data.
BufferedStreamSourceConduit
A stream source conduit which buffers input.
Conduit
A conduit, or stage which data transfer is processed by or provided by.
ConduitReadableByteChannel
A byte channel which wraps a conduit.
ConduitReadableMessageChannel
A readable message channel which is backed by a message source conduit.
Conduits
General utility methods for manipulating conduits.
ConduitStreamSinkChannel
A stream sink channel which wraps a stream sink conduit.
ConduitStreamSourceChannel
A stream source channel which wraps a stream source conduit.
ConduitWritableByteChannel
A byte channel which wraps a conduit.
ConduitWritableMessageChannel
A writable message channel which is backed by a message sink conduit.
DeflatingStreamSinkConduit
A filtering stream sink conduit which compresses the written data.
EmptyStreamSourceConduit
A stream source conduit which is always empty.
FixedLengthStreamSinkConduit
A stream sink conduit with a limited length.
FixedLengthStreamSourceConduit
A stream source conduit which limits the length of input.
FramingMessageSinkConduit
A message sink conduit which implements a simple message framing protocol over a stream conduit.
FramingMessageSourceConduit
A message source conduit which implements a simple message framing protocol over a stream conduit.
InflatingStreamSourceConduit
A filtering stream source conduit which decompresses the source data.
MessageSinkConduit
A message sink conduit.
MessageSourceConduit
A message source conduit.
MessageStreamSinkConduit
A stream sink conduit which wraps each write into a single message.
MessageStreamSourceConduit
A stream source conduit which reads stream data from messages.
NullStreamSinkConduit
A stream sink conduit which discards all data written to it.
PushBackStreamSourceConduit
A stream source conduit which allows buffers to be "pushed back" to the head of the stream.
ReadReadyHandler
A conduit read-ready handler.
ReadReadyHandler.ChannelListenerHandler<C extends SuspendableReadChannel & ReadListenerSettable<C> & CloseListenerSettable<C>>
A read ready handler which calls channel listener(s).
ReadReadyHandler.ReadyTask
A runnable task which invokes the `ReadReadyHandler.readReady()` method of the given handler.
SinkConduit
A conduit which is a target or output for data.
SourceConduit
StreamSinkChannelWrappingConduit
A conduit which wraps a channel, for compatibility.
StreamSinkConduit
A sink (writable) conduit for byte streams.
StreamSourceChannelWrappingConduit
A conduit which wraps a channel, for compatibility.
StreamSourceConduit
SynchronizedMessageSinkConduit
A synchronized message sink conduit.
SynchronizedMessageSourceConduit
A synchronized message source conduit.
SynchronizedStreamSinkConduit
A synchronized stream sink conduit.
SynchronizedStreamSourceConduit
A synchronized stream source conduit.
TerminateHandler
The base ready handler type, which can forward termination requests as well as notifications of termination completion.
TerminateHandler.ChannelListenerHandler<C extends Channel & CloseListenerSettable<C>>
A terminate handler which calls a channel listener on termination notification.
TerminateHandler.ReadyTask
A runnable task which invokes the `TerminateHandler.terminated()` method of the given handler.
WriteReadyHandler
A conduit write-ready handler.
WriteReadyHandler.ChannelListenerHandler<C extends SuspendableWriteChannel & WriteListenerSettable<C> & CloseListenerSettable<C>>
A write ready handler which calls channel listener(s).
WriteReadyHandler.ReadyTask
A runnable task which invokes the `WriteReadyHandler.writeReady()` method of the given handler.