Uses of Interface
org.xnio.channels.SuspendableWriteChannel
Packages that use SuspendableWriteChannel
Package
Description
The main API package for XNIO.
The core XNIO channel API.
The XNIO conduit SPI.
-
Uses of SuspendableWriteChannel in org.xnio
Methods in org.xnio with type parameters of type SuspendableWriteChannelModifier and TypeMethodDescriptionstatic <T extends SuspendableWriteChannel>
ChannelListener<T> ChannelListeners.flushingChannelListener
(ChannelListener<? super T> delegate, ChannelExceptionHandler<? super T> exceptionHandler) A flushing channel listener.static <T extends SuspendableWriteChannel>
ChannelListener<T> ChannelListeners.writeShutdownChannelListener
(ChannelListener<? super T> delegate, ChannelExceptionHandler<? super T> exceptionHandler) A write shutdown channel listener.static <T extends SuspendableWriteChannel>
ChannelListener<T> ChannelListeners.writeSuspendingChannelListener
(ChannelListener<? super T> delegate) A write-suspending channel listener. -
Uses of SuspendableWriteChannel in org.xnio.channels
Subinterfaces of SuspendableWriteChannel in org.xnio.channelsModifier and TypeInterfaceDescriptioninterface
A multipoint datagram channel.interface
A channel that sends and receives messages to a connected peer.interface
A TLS-encapsulated connected stream channel.interface
A stream channel that is a connection between a local and remote endpoint.interface
A channel that sends and receives whole messages.interface
A multicast-capable point-to-multipoint channel.interface
A point-to-multipoint message channel.interface
A stream channel.interface
A stream sink channel.interface
A suspendable bidirectional channel.interface
A channel that can send messages.interface
The writable side of a multipoint message channel.Classes in org.xnio.channels that implement SuspendableWriteChannelModifier and TypeClassDescriptionclass
A connected bidirectional message channel assembled from a readable and writable message channel.class
A connected SSL stream channel assembled from a stream source and stream sink.class
A connected stream channel assembled from a stream source and stream sink.class
A bidirectional message channel assembled from a readable and writable message channel.class
A stream channel assembled from a stream source and stream sink.final class
A channel which writes a fixed amount of data.class
Deprecated.This class is deprecated; use conduits instead.final class
A bit-bucket stream sink channel.final class
A half-duplex (write 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 SuspendableWriteChannelModifier and TypeMethodDescriptionstatic <T extends SuspendableWriteChannel>
voidChannels.setWriteListener
(T channel, ChannelListener<? super T> listener) Set the write listener for a channel (type-safe).static <C extends WritableByteChannel & SuspendableWriteChannel>
intChannels.writeBlocking
(C channel, ByteBuffer buffer) Simple utility method to execute a blocking write on a byte channel.static <C extends GatheringByteChannel & SuspendableWriteChannel>
longChannels.writeBlocking
(C channel, ByteBuffer[] buffers, int offs, int len) Simple utility method to execute a blocking write on a gathering byte channel.static <C extends GatheringByteChannel & SuspendableWriteChannel>
longChannels.writeBlocking
(C channel, ByteBuffer[] buffers, int offs, int len, long time, TimeUnit unit) Simple utility method to execute a blocking write on a gathering byte channel with a timeout.static <C extends WritableByteChannel & SuspendableWriteChannel>
intChannels.writeBlocking
(C channel, ByteBuffer buffer, long time, TimeUnit unit) Simple utility method to execute a blocking write on a byte channel with a timeout.Methods in org.xnio.channels that return types with arguments of type SuspendableWriteChannelModifier and TypeMethodDescriptionChannelListener.Setter
<? extends SuspendableWriteChannel> SuspendableWriteChannel.getCloseSetter()
Get the setter which can be used to change the close listener for this channel.ChannelListener.Setter
<? extends SuspendableWriteChannel> SuspendableWriteChannel.getWriteSetter()
Get the setter which can be used to change the write listener for this channel.Methods in org.xnio.channels with parameters of type SuspendableWriteChannelModifier and TypeMethodDescriptionstatic void
Channels.flushBlocking
(SuspendableWriteChannel channel) Simple utility method to execute a blocking flush on a writable channel.static boolean
Channels.flushBlocking
(SuspendableWriteChannel channel, long time, TimeUnit unit) Simple utility method to execute a blocking flush on a writable channel.static void
Channels.resumeWritesAsync
(SuspendableWriteChannel channel) Resume writes asynchronously.static void
Channels.shutdownWritesBlocking
(SuspendableWriteChannel channel) Simple utility method to execute a blocking write shutdown on a writable channel.static boolean
Channels.shutdownWritesBlocking
(SuspendableWriteChannel channel, long time, TimeUnit unit) Simple utility method to execute a blocking write shutdown on a writable channel.Constructors in org.xnio.channels with parameters of type SuspendableWriteChannelModifierConstructorDescriptionAssembledChannel
(SuspendableReadChannel readChannel, SuspendableWriteChannel writeChannel) Construct a new instance.AssembledConnectedChannel
(SuspendableReadChannel readChannel, SuspendableWriteChannel writeChannel) Construct a new instance.AssembledSslChannel
(SuspendableReadChannel readChannel, SuspendableWriteChannel writeChannel) Construct a new instance. -
Uses of SuspendableWriteChannel in org.xnio.conduits
Classes in org.xnio.conduits with type parameters of type SuspendableWriteChannelModifier and TypeClassDescriptionstatic class
WriteReadyHandler.ChannelListenerHandler<C extends SuspendableWriteChannel & WriteListenerSettable<C> & CloseListenerSettable<C>>
A write ready handler which calls channel listener(s).Classes in org.xnio.conduits that implement SuspendableWriteChannelModifier and TypeClassDescriptionfinal class
A stream sink channel which wraps a stream sink conduit.final class
A writable message channel which is backed by a message sink conduit.