Uses of Interface
org.xnio.channels.SuspendableWriteChannel
-
Packages that use SuspendableWriteChannel 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. -
-
Uses of SuspendableWriteChannel in org.xnio
Methods in org.xnio with type parameters of type SuspendableWriteChannel Modifier and Type Method Description static <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.channels Modifier and Type Interface Description interface
BoundMultipointMessageChannel
A multipoint datagram channel.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
StreamChannel
A stream channel.interface
StreamSinkChannel
A stream sink channel.interface
SuspendableChannel
A suspendable bidirectional 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 SuspendableWriteChannel Modifier and Type Class Description 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
AssembledStreamChannel
A stream channel assembled from a stream source and stream sink.class
FixedLengthStreamSinkChannel
A channel which writes a fixed amount of data.class
FramedMessageChannel
Deprecated.This class is deprecated; use conduits instead.class
NullStreamSinkChannel
A bit-bucket stream sink channel.class
SplitStreamSinkChannel
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 SuspendableWriteChannel Modifier and Type Method Description static <T extends SuspendableWriteChannel>
voidChannels. setWriteListener(T channel, ChannelListener<? super T> listener)
Set the write listener for a channel (type-safe).static <C extends java.nio.channels.WritableByteChannel & SuspendableWriteChannel>
intChannels. writeBlocking(C channel, java.nio.ByteBuffer buffer)
Simple utility method to execute a blocking write on a byte channel.static <C extends java.nio.channels.GatheringByteChannel & SuspendableWriteChannel>
longChannels. writeBlocking(C channel, java.nio.ByteBuffer[] buffers, int offs, int len)
Simple utility method to execute a blocking write on a gathering byte channel.static <C extends java.nio.channels.GatheringByteChannel & SuspendableWriteChannel>
longChannels. writeBlocking(C channel, java.nio.ByteBuffer[] buffers, int offs, int len, long time, java.util.concurrent.TimeUnit unit)
Simple utility method to execute a blocking write on a gathering byte channel with a timeout.static <C extends java.nio.channels.WritableByteChannel & SuspendableWriteChannel>
intChannels. writeBlocking(C channel, java.nio.ByteBuffer buffer, long time, java.util.concurrent.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 SuspendableWriteChannel Modifier and Type Method Description ChannelListener.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 SuspendableWriteChannel Modifier and Type Method Description static void
Channels. flushBlocking(SuspendableWriteChannel channel)
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.Constructors in org.xnio.channels with parameters of type SuspendableWriteChannel Constructor Description AssembledChannel(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 SuspendableWriteChannel Modifier and Type Class Description static 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 SuspendableWriteChannel Modifier and Type Class Description class
ConduitStreamSinkChannel
A stream sink channel which wraps a stream sink conduit.class
ConduitWritableMessageChannel
A writable message channel which is backed by a message sink conduit.
-