# Uses of Interface
org.xnio.channels.CloseableChannel

Packages that use CloseableChannel
Package
Description
org.xnio
The main API package for XNIO.
org.xnio.channels
The core XNIO channel API.
org.xnio.conduits
The XNIO conduit SPI.
org.xnio.ssl
Utility classes for using and implementing SSL within XNIO providers.

## Uses of CloseableChannel in org.xnio

Classes in org.xnio with type parameters of type CloseableChannel
Modifier and Type
Class
Description
`final class`
`ChannelPipe<L extends CloseableChannel,R extends CloseableChannel>`
A one-way pipe.
`final class`
`ChannelPipe<L extends CloseableChannel,R extends CloseableChannel>`
A one-way pipe.
Classes in org.xnio that implement CloseableChannel
Modifier and Type
Class
Description
`class`
`Connection`
The base for all connections.
`class`
`MessageConnection`
A message-oriented connection between peers.
`class`
`StreamConnection`
A connection between peers.

## Uses of CloseableChannel in org.xnio.channels

Classes in org.xnio.channels with type parameters of type CloseableChannel
Modifier and Type
Interface
Description
`interface`
`SimpleAcceptingChannel<C extends CloseableChannel>`
A channel which can accept connections.
Subinterfaces of CloseableChannel in org.xnio.channels
Modifier and Type
Interface
Description
`interface`
`AcceptingChannel<C extends ConnectedChannel>`
A channel which can accept inbound connections from remote endpoints.
`interface`
`BoundChannel`
A channel that is bound to a local address.
`interface`
`BoundMultipointMessageChannel`
A multipoint datagram channel.
`interface`
`ConnectedChannel`
A channel that has a local and peer endpoint address.
`interface`
`ConnectedMessageChannel`
A channel that sends and receives messages to a connected peer.
`interface`
`ConnectedSslStreamChannel`
A TLS-encapsulated connected stream channel.
`interface`
`ConnectedStreamChannel`
A stream channel that is a connection between a local and remote endpoint.
`interface`
`MessageChannel`
A channel that sends and receives whole messages.
`interface`
`MulticastMessageChannel`
A multicast-capable point-to-multipoint channel.
`interface`
`MultipointMessageChannel`
A point-to-multipoint message channel.
`interface`
`ReadableMessageChannel`
A channel that can receive messages.
`interface`
`ReadableMultipointMessageChannel`
The readable side of a multipoint message channel.
`interface`
`SimpleAcceptingChannel<C extends CloseableChannel>`
A channel which can accept connections.
`interface`
`SslChannel`
A channel which can use SSL/TLS to negotiate a security layer.
`interface`
`StreamChannel`
A stream channel.
`interface`
`StreamSinkChannel`
A stream sink channel.
`interface`
`StreamSourceChannel`
A stream source channel.
`interface`
`SuspendableAcceptChannel`
A suspendable accept channel.
`interface`
`SuspendableChannel`
A suspendable bidirectional channel.
`interface`
`SuspendableReadChannel`
A suspendable readable channel.
`interface`
`SuspendableWriteChannel`
A suspendable writable channel.
`interface`
`WritableMessageChannel`
A channel that can send messages.
`interface`
`WritableMultipointMessageChannel`
The writable side of a multipoint message channel.
Classes in org.xnio.channels that implement CloseableChannel
Modifier and Type
Class
Description
`class`
`AssembledChannel`
A closeable view over a read and write side of a suspendable channel.
`class`
`AssembledConnectedChannel`
A closeable, connected view over a read and write side of a suspendable channel, at least one of which is connected.
`class`
`AssembledConnectedMessageChannel`
A connected bidirectional message channel assembled from a readable and writable message channel.
`class`
`AssembledConnectedSslStreamChannel`
A connected SSL stream channel assembled from a stream source and stream sink.
`class`
`AssembledConnectedStreamChannel`
A connected stream channel assembled from a stream source and stream sink.
`class`
`AssembledMessageChannel`
A bidirectional message channel assembled from a readable and writable message channel.
`class`
`AssembledSslChannel`
An assembled SSL channel.
`class`
`AssembledStreamChannel`
A stream channel assembled from a stream source and stream sink.
`class`
`EmptyStreamSourceChannel`
A stream source channel which is always empty.
`final class`
`FixedLengthStreamSinkChannel`
A channel which writes a fixed amount of data.
`final class`
`FixedLengthStreamSourceChannel`
A channel which reads data of a fixed length and calls a finish listener.
`class`
`FramedMessageChannel`
Deprecated.
This class is deprecated; use conduits instead.
`final class`
`NullStreamSinkChannel`
A bit-bucket stream sink channel.
`final class`
`PushBackStreamChannel`
A stream source channel which can have data pushed back into it.
`final class`
`SplitStreamSinkChannel`
A half-duplex (write side) wrapper for a full-duplex channel.
`final class`
`SplitStreamSourceChannel`
A half-duplex (read side) wrapper for a full-duplex channel.
`class`
`TranslatingSuspendableChannel<C extends SuspendableChannel,W extends SuspendableChannel>`
Deprecated.
This class is deprecated; use conduits instead.
Methods in org.xnio.channels with type parameters of type CloseableChannel
Modifier and Type
Method
Description
`static <T extends CloseableChannel>
void`
Channels.`setCloseListener(T channel, ChannelListener<? super T> listener)`
Set the close listener for a channel (type-safe).
Methods in org.xnio.channels that return types with arguments of type CloseableChannel
Modifier and Type
Method
Description
`ChannelListener.Setter<? extends CloseableChannel>`
AssembledChannel.`getCloseSetter()`
`ChannelListener.Setter<? extends CloseableChannel>`
CloseableChannel.`getCloseSetter()`
Get the setter which can be used to change the close listener for this channel.
Constructors in org.xnio.channels with parameters of type CloseableChannel
Modifier
Constructor
Description
``
`AssembledMessageChannel(CloseableChannel closeable, ReadableMessageChannel readable, WritableMessageChannel writable)`
Construct a new instance.
``
`AssembledStreamChannel(CloseableChannel closeable, StreamSourceChannel source, StreamSinkChannel sink)`
Construct a new instance.

## Uses of CloseableChannel in org.xnio.conduits

Classes in org.xnio.conduits that implement CloseableChannel
Modifier and Type
Class
Description
`final class`
`ConduitReadableMessageChannel`
A readable message channel which is backed by a message source conduit.
`final class`
`ConduitStreamSinkChannel`
A stream sink channel which wraps a stream sink conduit.
`final class`
`ConduitStreamSourceChannel`
A stream source channel which wraps a stream source conduit.
`final class`
`ConduitWritableMessageChannel`
A writable message channel which is backed by a message sink conduit.

## Uses of CloseableChannel in org.xnio.ssl

Classes in org.xnio.ssl that implement CloseableChannel
Modifier and Type
Class
Description
`final class`
`JsseSslConnection`
`final class`
`JsseSslStreamConnection`
StreamConnection with SSL support.
`class`
`SslConnection`
A stream connection which can use SSL/TLS to negotiate a security layer.