Uses of Interface
org.xnio.channels.SuspendableReadChannel
Packages that use SuspendableReadChannel
Package
Description
The main API package for XNIO.
The core XNIO channel API.
The XNIO conduit SPI.
-
Uses of SuspendableReadChannel in org.xnio
Methods in org.xnio with type parameters of type SuspendableReadChannelModifier and TypeMethodDescriptionstatic <T extends SuspendableReadChannel>
ChannelListener<T>ChannelListeners.readSuspendingChannelListener(ChannelListener<? super T> delegate) A read-suspending channel listener.Methods in org.xnio with parameters of type SuspendableReadChannelModifier and TypeMethodDescriptionstatic voidIoUtils.safeShutdownReads(SuspendableReadChannel channel) Safely shutdown reads on the given channel. -
Uses of SuspendableReadChannel in org.xnio.channels
Subinterfaces of SuspendableReadChannel 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 channel that can receive messages.interfaceThe readable side of a multipoint message channel.interfaceA stream channel.interfaceA stream source channel.interfaceA suspendable bidirectional channel.Classes in org.xnio.channels that implement SuspendableReadChannelModifier 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.classA stream source channel which is always empty.final classA channel which reads data of a fixed length and calls a finish listener.classDeprecated.This class is deprecated; use conduits instead.final classA stream source channel which can have data pushed back into it.final classA half-duplex (read 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 SuspendableReadChannelModifier and TypeMethodDescriptionstatic <C extends ReadableByteChannel & SuspendableReadChannel>
intChannels.readBlocking(C channel, ByteBuffer buffer) Simple utility method to execute a blocking read on a readable byte channel.static <C extends ScatteringByteChannel & SuspendableReadChannel>
longChannels.readBlocking(C channel, ByteBuffer[] buffers, int offs, int len) Simple utility method to execute a blocking read on a scattering byte channel.static <C extends ScatteringByteChannel & SuspendableReadChannel>
longChannels.readBlocking(C channel, ByteBuffer[] buffers, int offs, int len, long time, TimeUnit unit) Simple utility method to execute a blocking read on a scattering byte channel with a timeout.static <C extends ReadableByteChannel & SuspendableReadChannel>
intChannels.readBlocking(C channel, ByteBuffer buffer, long time, TimeUnit unit) Simple utility method to execute a blocking read on a readable byte channel with a timeout.static <T extends SuspendableReadChannel>
voidChannels.setReadListener(T channel, ChannelListener<? super T> listener) Set the read listener for a channel (type-safe).Methods in org.xnio.channels that return types with arguments of type SuspendableReadChannelModifier and TypeMethodDescriptionChannelListener.Setter<? extends SuspendableReadChannel>SuspendableReadChannel.getCloseSetter()Get the setter which can be used to change the close listener for this channel.ChannelListener.Setter<? extends SuspendableReadChannel>SuspendableReadChannel.getReadSetter()Get the setter which can be used to change the read listener for this channel.Methods in org.xnio.channels with parameters of type SuspendableReadChannelModifier and TypeMethodDescriptionstatic voidChannels.resumeReadsAsync(SuspendableReadChannel channel) Resume reads asynchronously.Constructors in org.xnio.channels with parameters of type SuspendableReadChannelModifierConstructorDescriptionAssembledChannel(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 SuspendableReadChannel in org.xnio.conduits
Classes in org.xnio.conduits with type parameters of type SuspendableReadChannelModifier and TypeClassDescriptionstatic classReadReadyHandler.ChannelListenerHandler<C extends SuspendableReadChannel & ReadListenerSettable<C> & CloseListenerSettable<C>>A read ready handler which calls channel listener(s).Classes in org.xnio.conduits that implement SuspendableReadChannelModifier and TypeClassDescriptionfinal classA readable message channel which is backed by a message source conduit.final classA stream source channel which wraps a stream source conduit.