Uses of Interface
org.xnio.channels.ReadableMessageChannel
Packages that use ReadableMessageChannel
Package
Description
The core XNIO channel API.
The XNIO conduit SPI.
-
Uses of ReadableMessageChannel in org.xnio.channels
Subinterfaces of ReadableMessageChannel in org.xnio.channelsModifier and TypeInterfaceDescriptioninterface
A channel that sends and receives messages to a connected peer.interface
A channel that sends and receives whole messages.Classes in org.xnio.channels that implement ReadableMessageChannelModifier and TypeClassDescriptionclass
A connected bidirectional message channel assembled from a readable and writable message channel.class
A bidirectional message channel assembled from a readable and writable message channel.class
Deprecated.This class is deprecated; use conduits instead.Methods in org.xnio.channels with type parameters of type ReadableMessageChannelModifier and TypeMethodDescriptionstatic <C extends ReadableMessageChannel>
intChannels.receiveBlocking
(C channel, ByteBuffer buffer) Simple utility method to execute a blocking receive on a readable message channel.static <C extends ReadableMessageChannel>
longChannels.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>
longChannels.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>
intChannels.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 ReadableMessageChannelModifier and TypeMethodDescriptionChannelListener.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 ReadableMessageChannelModifierConstructorDescriptionAssembledConnectedMessageChannel
(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 ReadableMessageChannelModifier and TypeClassDescriptionfinal class
A readable message channel which is backed by a message source conduit.