Uses of Interface
org.xnio.channels.WritableMessageChannel
Packages that use WritableMessageChannel
Package
Description
The main API package for XNIO.
The core XNIO channel API.
The XNIO conduit SPI.
-
Uses of WritableMessageChannel in org.xnio
Methods in org.xnio with type parameters of type WritableMessageChannelModifier and TypeMethodDescriptionstatic <T extends WritableMessageChannel>
ChannelListener<T>ChannelListeners.sendingChannelListener
(Pooled<ByteBuffer> pooled, ChannelListener<? super T> delegate, ChannelExceptionHandler<? super T> exceptionHandler) A sending channel listener. -
Uses of WritableMessageChannel in org.xnio.channels
Subinterfaces of WritableMessageChannel 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 WritableMessageChannelModifier 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 WritableMessageChannelModifier and TypeMethodDescriptionstatic <C extends WritableMessageChannel>
voidChannels.sendBlocking
(C channel, ByteBuffer buffer) Simple utility method to execute a blocking send on a message channel.static <C extends WritableMessageChannel>
voidChannels.sendBlocking
(C channel, ByteBuffer[] buffers, int offs, int len) Simple utility method to execute a blocking gathering send on a message channel.static <C extends WritableMessageChannel>
booleanChannels.sendBlocking
(C channel, ByteBuffer[] buffers, int offs, int len, long time, TimeUnit unit) Simple utility method to execute a blocking gathering send on a message channel with a timeout.static <C extends WritableMessageChannel>
booleanChannels.sendBlocking
(C channel, ByteBuffer buffer, long time, TimeUnit unit) Simple utility method to execute a blocking send on a message channel with a timeout.Methods in org.xnio.channels that return types with arguments of type WritableMessageChannelModifier and TypeMethodDescriptionChannelListener.Setter<? extends WritableMessageChannel>
WritableMessageChannel.getCloseSetter()
Get the setter which can be used to change the close listener for this channel.ChannelListener.Setter<? extends WritableMessageChannel>
WritableMessageChannel.getWriteSetter()
Get the setter which can be used to change the write listener for this channel.Constructors in org.xnio.channels with parameters of type WritableMessageChannelModifierConstructorDescriptionAssembledConnectedMessageChannel
(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 WritableMessageChannel in org.xnio.conduits
Classes in org.xnio.conduits that implement WritableMessageChannelModifier and TypeClassDescriptionfinal class
A writable message channel which is backed by a message sink conduit.