Uses of Interface
org.xnio.channels.StreamSinkChannel
Packages that use StreamSinkChannel
Package
Description
The main API package for XNIO.
The core XNIO channel API.
The XNIO conduit SPI.
Utility classes for creating streams which use XNIO channels.
-
Uses of StreamSinkChannel in org.xnio
Methods in org.xnio with type parameters of type StreamSinkChannelModifier and TypeMethodDescriptionstatic <T extends StreamSinkChannel>
ChannelListener<T>ChannelListeners.fileSendingChannelListener
(FileChannel source, long position, long count, ChannelListener<? super T> delegate, ChannelExceptionHandler<? super T> exceptionHandler) A file-sending channel listener.static <I extends StreamSourceChannel,
O extends StreamSinkChannel>
voidChannelListeners.initiateTransfer
(long count, I source, O sink, ChannelListener<? super I> sourceListener, ChannelListener<? super O> sinkListener, ChannelExceptionHandler<? super I> readExceptionHandler, ChannelExceptionHandler<? super O> writeExceptionHandler, Pool<ByteBuffer> pool) Initiate a low-copy transfer between two stream channels.static <I extends StreamSourceChannel,
O extends StreamSinkChannel>
voidChannelListeners.initiateTransfer
(I source, O sink, Pool<ByteBuffer> pool) Initiate a low-copy transfer between two stream channels.static <T extends StreamSinkChannel>
ChannelListener<T>ChannelListeners.writingChannelListener
(Pooled<ByteBuffer> pooled, ChannelListener<? super T> delegate, ChannelExceptionHandler<? super T> exceptionHandler) A writing channel listener.Methods in org.xnio that return StreamSinkChannelModifier and TypeMethodDescriptionprotected StreamSinkChannel
XnioWorker.getDeflatingChannel
(StreamSinkChannel delegate, Deflater deflater) Create a stream channel that compresses to the destination according to the configuration in the given inflater.XnioWorker.getDeflatingChannel
(StreamSinkChannel delegate, OptionMap options) Create a stream channel that compresses to the destination according to the configuration in the given option map.Methods in org.xnio that return types with arguments of type StreamSinkChannelModifier and TypeMethodDescriptionXnioIoFactory.createHalfDuplexPipe()
Create a one-way stream pipe.XnioIoFactory.createHalfDuplexPipe
(XnioIoFactory peer) Create a one-way stream pipe.XnioIoThread.createHalfDuplexPipe()
XnioIoThread.createHalfDuplexPipe
(XnioIoFactory peer) XnioWorker.createHalfDuplexPipe()
XnioWorker.createHalfDuplexPipe
(XnioIoFactory peer) Methods in org.xnio with parameters of type StreamSinkChannelModifier and TypeMethodDescriptionprotected StreamSinkChannel
XnioWorker.getDeflatingChannel
(StreamSinkChannel delegate, Deflater deflater) Create a stream channel that compresses to the destination according to the configuration in the given inflater.XnioWorker.getDeflatingChannel
(StreamSinkChannel delegate, OptionMap options) Create a stream channel that compresses to the destination according to the configuration in the given option map. -
Uses of StreamSinkChannel in org.xnio.channels
Subinterfaces of StreamSinkChannel in org.xnio.channelsModifier and TypeInterfaceDescriptioninterface
A TLS-encapsulated connected stream channel.interface
A stream channel that is a connection between a local and remote endpoint.interface
A stream channel.Classes in org.xnio.channels that implement StreamSinkChannelModifier and TypeClassDescriptionclass
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 stream channel assembled from a stream source and stream sink.final class
A channel which writes a fixed amount of data.final class
A bit-bucket stream sink channel.final class
A half-duplex (write side) wrapper for a full-duplex channel.Methods in org.xnio.channels that return StreamSinkChannelMethods in org.xnio.channels that return types with arguments of type StreamSinkChannelModifier and TypeMethodDescriptionChannelListener.Setter<? extends StreamSinkChannel>
StreamSinkChannel.getCloseSetter()
Get the setter which can be used to change the close listener for this channel.ChannelListener.Setter<? extends StreamSinkChannel>
StreamSinkChannel.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 StreamSinkChannelModifier and TypeMethodDescriptionstatic void
Channels.transferBlocking
(StreamSinkChannel destination, FileChannel source, long startPosition, long count) Transfer bytes between two channels efficiently, blocking if necessary.static long
Channels.transferBlocking
(StreamSinkChannel destination, StreamSourceChannel source, ByteBuffer throughBuffer, long count) Transfer bytes between two channels efficiently, blocking if necessary.long
AssembledStreamChannel.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) long
EmptyStreamSourceChannel.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) long
FixedLengthStreamSourceChannel.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) long
PushBackStreamChannel.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) long
SplitStreamSourceChannel.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) long
StreamSourceChannel.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) Transfers bytes into the given channel target.static int
Channels.writeFinalBasic
(StreamSinkChannel channel, ByteBuffer src) Writes out the data in the buffer to the channel.static long
Channels.writeFinalBasic
(StreamSinkChannel channel, ByteBuffer[] srcs, int offset, int length) Writes out the data in the buffer to the channel.Constructors in org.xnio.channels with parameters of type StreamSinkChannelModifierConstructorDescriptionAssembledConnectedSslStreamChannel
(SslChannel sslChannel, StreamSourceChannel source, StreamSinkChannel sink) Construct a new instance.Construct a new instance.AssembledConnectedStreamChannel
(ConnectedChannel connection, StreamSourceChannel source, StreamSinkChannel sink) Construct a new instance.Construct a new instance.AssembledStreamChannel
(CloseableChannel closeable, StreamSourceChannel source, StreamSinkChannel sink) Construct a new instance.AssembledStreamChannel
(StreamSourceChannel source, StreamSinkChannel sink) Construct a new instance.BlockingWritableByteChannel
(StreamSinkChannel delegate) Construct a new instance.BlockingWritableByteChannel
(StreamSinkChannel delegate, long writeTimeout, TimeUnit writeTimeoutUnit) Construct a new instance.FixedLengthStreamSinkChannel
(StreamSinkChannel delegate, long contentLength, boolean configurable, boolean propagateClose, ChannelListener<? super FixedLengthStreamSinkChannel> finishListener, Object guard) Construct a new instance.SplitStreamSinkChannel
(StreamSinkChannel delegate) Construct a new instance which does not delegate configuration.SplitStreamSinkChannel
(StreamSinkChannel delegate, boolean delegateConfig) Construct a new instance. -
Uses of StreamSinkChannel in org.xnio.conduits
Classes in org.xnio.conduits that implement StreamSinkChannelModifier and TypeClassDescriptionfinal class
A stream sink channel which wraps a stream sink conduit.Methods in org.xnio.conduits with parameters of type StreamSinkChannelModifier and TypeMethodDescriptionlong
AbstractStreamSourceConduit.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) long
BlockingStreamSourceConduit.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) long
BufferedStreamSourceConduit.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) long
ConduitStreamSourceChannel.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) long
EmptyStreamSourceConduit.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) long
FixedLengthStreamSourceConduit.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) long
InflatingStreamSourceConduit.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) long
MessageStreamSourceConduit.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) long
PushBackStreamSourceConduit.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) long
StreamSourceChannelWrappingConduit.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) long
StreamSourceConduit.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) Transfers bytes into the given channel target.long
SynchronizedStreamSourceConduit.transferTo
(long count, ByteBuffer throughBuffer, StreamSinkChannel target) Constructors in org.xnio.conduits with parameters of type StreamSinkChannelModifierConstructorDescriptionConstruct a new instance. -
Uses of StreamSinkChannel in org.xnio.streams
Fields in org.xnio.streams declared as StreamSinkChannelConstructors in org.xnio.streams with parameters of type StreamSinkChannelModifierConstructorDescriptionChannelOutputStream
(StreamSinkChannel channel) Construct a new instance.ChannelOutputStream
(StreamSinkChannel channel, long timeout, TimeUnit unit) Construct a new instance.