Uses of Interface
org.xnio.channels.StreamSinkChannel
-
Packages that use StreamSinkChannel 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.org.xnio.streams Utility classes for creating streams which use XNIO channels. -
-
Uses of StreamSinkChannel in org.xnio
Methods in org.xnio with type parameters of type StreamSinkChannel Modifier and Type Method Description static <T extends StreamSinkChannel>
ChannelListener<T>ChannelListeners. fileSendingChannelListener(java.nio.channels.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<java.nio.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<java.nio.ByteBuffer> pool)Initiate a low-copy transfer between two stream channels.static <T extends StreamSinkChannel>
ChannelListener<T>ChannelListeners. writingChannelListener(Pooled<java.nio.ByteBuffer> pooled, ChannelListener<? super T> delegate, ChannelExceptionHandler<? super T> exceptionHandler)A writing channel listener.Methods in org.xnio that return StreamSinkChannel Modifier and Type Method Description protected StreamSinkChannelXnioWorker. getDeflatingChannel(StreamSinkChannel delegate, java.util.zip.Deflater deflater)Create a stream channel that compresses to the destination according to the configuration in the given inflater.StreamSinkChannelXnioWorker. 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 StreamSinkChannel Modifier and Type Method Description ChannelPipe<StreamSourceChannel,StreamSinkChannel>XnioIoFactory. createHalfDuplexPipe()Create a one-way stream pipe.ChannelPipe<StreamSourceChannel,StreamSinkChannel>XnioIoFactory. createHalfDuplexPipe(XnioIoFactory peer)Create a one-way stream pipe.ChannelPipe<StreamSourceChannel,StreamSinkChannel>XnioIoThread. createHalfDuplexPipe()ChannelPipe<StreamSourceChannel,StreamSinkChannel>XnioIoThread. createHalfDuplexPipe(XnioIoFactory peer)ChannelPipe<StreamSourceChannel,StreamSinkChannel>XnioWorker. createHalfDuplexPipe()ChannelPipe<StreamSourceChannel,StreamSinkChannel>XnioWorker. createHalfDuplexPipe(XnioIoFactory peer)Methods in org.xnio with parameters of type StreamSinkChannel Modifier and Type Method Description protected StreamSinkChannelXnioWorker. getDeflatingChannel(StreamSinkChannel delegate, java.util.zip.Deflater deflater)Create a stream channel that compresses to the destination according to the configuration in the given inflater.StreamSinkChannelXnioWorker. 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.channels Modifier and Type Interface Description interfaceConnectedSslStreamChannelA TLS-encapsulated connected stream channel.interfaceConnectedStreamChannelA stream channel that is a connection between a local and remote endpoint.interfaceStreamChannelA stream channel.Classes in org.xnio.channels that implement StreamSinkChannel Modifier and Type Class Description 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.classAssembledStreamChannelA stream channel assembled from a stream source and stream sink.classFixedLengthStreamSinkChannelA channel which writes a fixed amount of data.classNullStreamSinkChannelA bit-bucket stream sink channel.classSplitStreamSinkChannelA half-duplex (write side) wrapper for a full-duplex channel.Methods in org.xnio.channels that return StreamSinkChannel Modifier and Type Method Description StreamSinkChannelFixedLengthStreamSinkChannel. getChannel(java.lang.Object guard)Methods in org.xnio.channels that return types with arguments of type StreamSinkChannel Modifier and Type Method Description ChannelListener.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 StreamSinkChannel Modifier and Type Method Description static voidChannels. transferBlocking(StreamSinkChannel destination, java.nio.channels.FileChannel source, long startPosition, long count)Transfer bytes between two channels efficiently, blocking if necessary.static longChannels. transferBlocking(StreamSinkChannel destination, StreamSourceChannel source, java.nio.ByteBuffer throughBuffer, long count)Transfer bytes between two channels efficiently, blocking if necessary.longAssembledStreamChannel. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)longEmptyStreamSourceChannel. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)longFixedLengthStreamSourceChannel. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)longPushBackStreamChannel. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)longSplitStreamSourceChannel. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)longStreamSourceChannel. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)Transfers bytes into the given channel target.static intChannels. writeFinalBasic(StreamSinkChannel channel, java.nio.ByteBuffer src)Writes out the data in the buffer to the channel.static longChannels. writeFinalBasic(StreamSinkChannel channel, java.nio.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 StreamSinkChannel Constructor Description AssembledConnectedSslStreamChannel(SslChannel sslChannel, StreamSourceChannel source, StreamSinkChannel sink)Construct a new instance.AssembledConnectedSslStreamChannel(StreamSourceChannel source, StreamSinkChannel sink)Construct a new instance.AssembledConnectedStreamChannel(ConnectedChannel connection, StreamSourceChannel source, StreamSinkChannel sink)Construct a new instance.AssembledConnectedStreamChannel(StreamSourceChannel source, StreamSinkChannel sink)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, java.util.concurrent.TimeUnit writeTimeoutUnit)Construct a new instance.FixedLengthStreamSinkChannel(StreamSinkChannel delegate, long contentLength, boolean configurable, boolean propagateClose, ChannelListener<? super FixedLengthStreamSinkChannel> finishListener, java.lang.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 StreamSinkChannel Modifier and Type Class Description classConduitStreamSinkChannelA stream sink channel which wraps a stream sink conduit.Methods in org.xnio.conduits with parameters of type StreamSinkChannel Modifier and Type Method Description longAbstractStreamSourceConduit. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)longBlockingStreamSourceConduit. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)longBufferedStreamSourceConduit. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)longConduitStreamSourceChannel. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)longEmptyStreamSourceConduit. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)longFixedLengthStreamSourceConduit. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)longInflatingStreamSourceConduit. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)longMessageStreamSourceConduit. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)longPushBackStreamSourceConduit. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)longStreamSourceChannelWrappingConduit. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)longStreamSourceConduit. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)Transfers bytes into the given channel target.longSynchronizedStreamSourceConduit. transferTo(long count, java.nio.ByteBuffer throughBuffer, StreamSinkChannel target)Constructors in org.xnio.conduits with parameters of type StreamSinkChannel Constructor Description StreamSinkChannelWrappingConduit(StreamSinkChannel channel)Construct a new instance. -
Uses of StreamSinkChannel in org.xnio.streams
Fields in org.xnio.streams declared as StreamSinkChannel Modifier and Type Field Description protected StreamSinkChannelChannelOutputStream. channelConstructors in org.xnio.streams with parameters of type StreamSinkChannel Constructor Description ChannelOutputStream(StreamSinkChannel channel)Construct a new instance.ChannelOutputStream(StreamSinkChannel channel, long timeout, java.util.concurrent.TimeUnit unit)Construct a new instance.
-