Package | Description |
---|---|
org.xnio |
The main API package for XNIO.
|
org.xnio.conduits |
The XNIO conduit SPI.
|
Modifier and Type | Method and Description |
---|---|
protected void |
StreamConnection.setSinkConduit(StreamSinkConduit conduit)
Set the sink conduit for this channel.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStreamSinkConduit<D extends StreamSinkConduit>
An abstract base class for filtering stream sink conduits.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStreamSinkConduit<D extends StreamSinkConduit>
An abstract base class for filtering stream sink conduits.
|
class |
BlockingStreamSinkConduit |
class |
BufferedStreamSinkConduit
A stream sink conduit that buffers output data.
|
class |
DeflatingStreamSinkConduit
A filtering stream sink conduit which compresses the written data.
|
class |
FixedLengthStreamSinkConduit
A stream sink conduit with a limited length.
|
class |
MessageStreamSinkConduit
A stream sink conduit which wraps each write into a single message.
|
class |
NullStreamSinkConduit
A stream sink conduit which discards all data written to it.
|
class |
StreamSinkChannelWrappingConduit
A conduit which wraps a channel, for compatibility.
|
class |
SynchronizedStreamSinkConduit
A synchronized stream sink conduit.
|
Modifier and Type | Method and Description |
---|---|
StreamSinkConduit |
ConduitStreamSinkChannel.getConduit()
Get the underlying conduit for this channel.
|
Modifier and Type | Method and Description |
---|---|
void |
ConduitStreamSinkChannel.setConduit(StreamSinkConduit conduit)
Set the underlying conduit for this channel.
|
static long |
Conduits.transfer(ReadableByteChannel source,
long count,
ByteBuffer throughBuffer,
StreamSinkConduit sink)
Platform-independent channel-to-channel transfer method.
|
static int |
Conduits.writeFinalBasic(StreamSinkConduit conduit,
ByteBuffer src)
Writes the buffer to the conduit, and terminates writes if all the data is written
|
static long |
Conduits.writeFinalBasic(StreamSinkConduit conduit,
ByteBuffer[] srcs,
int offset,
int length)
Writes the buffer to the conduit, and terminates writes if all the data is written
|
Constructor and Description |
---|
BlockingStreamSinkConduit(StreamSinkConduit next) |
BufferedStreamSinkConduit(StreamSinkConduit next,
Pooled<ByteBuffer> pooledBuffer)
Construct a new instance.
|
ConduitStreamSinkChannel(Configurable configurable,
StreamSinkConduit conduit)
Construct a new instance.
|
ConduitWritableByteChannel(StreamSinkConduit conduit)
Construct a new instance.
|
DeflatingStreamSinkConduit(StreamSinkConduit next,
Deflater deflater)
Construct a new instance.
|
FramingMessageSinkConduit(StreamSinkConduit next,
boolean longLengths,
Pooled<ByteBuffer> transmitBuffer)
Construct a new instance.
|
SynchronizedStreamSinkConduit(StreamSinkConduit next)
Construct a new instance.
|
SynchronizedStreamSinkConduit(StreamSinkConduit next,
Object lock)
Construct a new instance.
|
Copyright © 2015. All rights reserved.