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 TypeInterfaceDescriptioninterfaceA multipoint datagram channel.interfaceA channel that sends and receives messages to a connected peer.interfaceA TLS-encapsulated connected stream channel.interfaceA stream channel that is a connection between a local and remote endpoint.interfaceA channel that sends and receives whole messages.interfaceA multicast-capable point-to-multipoint channel.interfaceA point-to-multipoint message channel.interfaceA stream channel.interfaceA stream sink channel.interfaceA suspendable bidirectional channel.interfaceA channel that can send messages.interfaceThe writable side of a multipoint message channel.Classes in org.xnio.channels that implement SuspendableWriteChannelModifier and TypeClassDescriptionclassA connected bidirectional message channel assembled from a readable and writable message channel.classA connected SSL stream channel assembled from a stream source and stream sink.classA connected stream channel assembled from a stream source and stream sink.classA bidirectional message channel assembled from a readable and writable message channel.classA stream channel assembled from a stream source and stream sink.final classA channel which writes a fixed amount of data.classDeprecated.This class is deprecated; use conduits instead.final classA bit-bucket stream sink channel.final classA 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 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 voidChannels.flushBlocking(SuspendableWriteChannel channel) Simple utility method to execute a blocking flush on a writable channel.static booleanChannels.flushBlocking(SuspendableWriteChannel channel, long time, TimeUnit unit) 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.static booleanChannels.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 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 SuspendableWriteChannelModifier and TypeClassDescriptionfinal classA stream sink channel which wraps a stream sink conduit.final classA writable message channel which is backed by a message sink conduit.