# Uses of Interface
org.xnio.channels.ReadableMessageChannel

Packages that use ReadableMessageChannel
Package
Description
org.xnio.channels
The core XNIO channel API.
org.xnio.conduits
The XNIO conduit SPI.

## Uses of ReadableMessageChannel in org.xnio.channels

Subinterfaces of ReadableMessageChannel in org.xnio.channels
Modifier and Type
Interface
Description
`interface`
`ConnectedMessageChannel`
A channel that sends and receives messages to a connected peer.
`interface`
`MessageChannel`
A channel that sends and receives whole messages.
Classes in org.xnio.channels that implement ReadableMessageChannel
Modifier and Type
Class
Description
`class`
`AssembledConnectedMessageChannel`
A connected bidirectional message channel assembled from a readable and writable message channel.
`class`
`AssembledMessageChannel`
A bidirectional message channel assembled from a readable and writable message channel.
`class`
`FramedMessageChannel`
Deprecated.
This class is deprecated; use conduits instead.
Methods in org.xnio.channels with type parameters of type ReadableMessageChannel
Modifier and Type
Method
Description
`static <C extends ReadableMessageChannel>
int`
Channels.`receiveBlocking(C channel, ByteBuffer buffer)`
Simple utility method to execute a blocking receive on a readable message channel.
`static <C extends ReadableMessageChannel>
long`
Channels.`receiveBlocking(C channel, ByteBuffer[] buffers, int offs, int len)`
Simple utility method to execute a blocking receive on a readable message channel.
`static <C extends ReadableMessageChannel>
long`
Channels.`receiveBlocking(C channel, ByteBuffer[] buffers, int offs, int len, long time, TimeUnit unit)`
Simple utility method to execute a blocking receive on a readable message channel with a timeout.
`static <C extends ReadableMessageChannel>
int`
Channels.`receiveBlocking(C channel, ByteBuffer buffer, long time, TimeUnit unit)`
Simple utility method to execute a blocking receive on a readable message channel with a timeout.
Methods in org.xnio.channels that return types with arguments of type ReadableMessageChannel
Modifier and Type
Method
Description
`ChannelListener.Setter<? extends ReadableMessageChannel>`
ReadableMessageChannel.`getCloseSetter()`
Get the setter which can be used to change the close listener for this channel.
`ChannelListener.Setter<? extends ReadableMessageChannel>`
ReadableMessageChannel.`getReadSetter()`
Get the setter which can be used to change the read listener for this channel.
Constructors in org.xnio.channels with parameters of type ReadableMessageChannel
Modifier
Constructor
Description
``
`AssembledConnectedMessageChannel(ConnectedChannel connection, ReadableMessageChannel readable, WritableMessageChannel writable)`
Construct a new instance.
``
`AssembledConnectedMessageChannel(ReadableMessageChannel readable, WritableMessageChannel writable)`
Construct a new instance.
``
`AssembledMessageChannel(CloseableChannel closeable, ReadableMessageChannel readable, WritableMessageChannel writable)`
Construct a new instance.
``
`AssembledMessageChannel(ReadableMessageChannel readable, WritableMessageChannel writable)`
Construct a new instance.

## Uses of ReadableMessageChannel in org.xnio.conduits

Classes in org.xnio.conduits that implement ReadableMessageChannel
Modifier and Type
Class
Description
`final class`
`ConduitReadableMessageChannel`
A readable message channel which is backed by a message source conduit.