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 interfaceBoundMultipointMessageChannelA multipoint datagram channel.interfaceConnectedMessageChannelA channel that sends and receives messages to a connected peer.interfaceConnectedSslStreamChannelA TLS-encapsulated connected stream channel.interfaceConnectedStreamChannelA stream channel that is a connection between a local and remote endpoint.interfaceMessageChannelA channel that sends and receives whole messages.interfaceMulticastMessageChannelA multicast-capable point-to-multipoint channel.interfaceMultipointMessageChannelA point-to-multipoint message channel.interfaceStreamChannelA stream channel.interfaceStreamSinkChannelA stream sink channel.interfaceSuspendableChannelA suspendable bidirectional channel.interfaceWritableMessageChannelA channel that can send messages.interfaceWritableMultipointMessageChannelThe writable side of a multipoint message channel.Classes in org.xnio.channels that implement SuspendableWriteChannel Modifier and Type Class Description classAssembledConnectedMessageChannelA connected bidirectional message channel assembled from a readable and writable message channel.classAssembledConnectedSslStreamChannelA connected SSL stream channel assembled from a stream source and stream sink.classAssembledConnectedStreamChannelA connected stream channel assembled from a stream source and stream sink.classAssembledMessageChannelA bidirectional message channel assembled from a readable and writable message channel.classAssembledStreamChannelA stream channel assembled from a stream source and stream sink.classFixedLengthStreamSinkChannelA channel which writes a fixed amount of data.classFramedMessageChannelDeprecated.This class is deprecated; use conduits instead.classNullStreamSinkChannelA bit-bucket stream sink channel.classSplitStreamSinkChannelA half-duplex (write side) wrapper for a full-duplex channel.classTranslatingSuspendableChannel<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 voidChannels. flushBlocking(SuspendableWriteChannel channel)Simple utility method to execute a blocking flush on a writable channel.static voidChannels. resumeWritesAsync(SuspendableWriteChannel channel)Resume writes asynchronously.static voidChannels. 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 classWriteReadyHandler.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 classConduitStreamSinkChannelA stream sink channel which wraps a stream sink conduit.classConduitWritableMessageChannelA writable message channel which is backed by a message sink conduit.
-