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.setSourceConduit(StreamSourceConduit conduit)
Set the source conduit for this channel.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStreamSourceConduit<D extends StreamSourceConduit>
An abstract base class for filtering stream source conduits.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStreamSourceConduit<D extends StreamSourceConduit>
An abstract base class for filtering stream source conduits.
|
class |
BlockingStreamSourceConduit
A stream source conduit which can switch into and out of blocking mode.
|
class |
BufferedStreamSourceConduit
A stream source conduit which buffers input.
|
class |
EmptyStreamSourceConduit
A stream source conduit which is always empty.
|
class |
FixedLengthStreamSourceConduit
A stream source conduit which limits the length of input.
|
class |
InflatingStreamSourceConduit
A filtering stream source conduit which decompresses the source data.
|
class |
MessageStreamSourceConduit
A stream source conduit which reads stream data from messages.
|
class |
PushBackStreamSourceConduit
A stream source conduit which allows buffers to be "pushed back" to the head of the stream.
|
class |
StreamSourceChannelWrappingConduit
A conduit which wraps a channel, for compatibility.
|
class |
SynchronizedStreamSourceConduit
A synchronized stream source conduit.
|
Modifier and Type | Method and Description |
---|---|
StreamSourceConduit |
ConduitStreamSourceChannel.getConduit()
Get the underlying conduit for this channel.
|
Modifier and Type | Method and Description |
---|---|
static long |
Conduits.drain(StreamSourceConduit conduit,
long count)
Attempt to drain the given number of bytes from the stream source conduit.
|
void |
ConduitStreamSourceChannel.setConduit(StreamSourceConduit conduit)
Set the underlying conduit for this channel.
|
static long |
Conduits.transfer(StreamSourceConduit source,
long count,
ByteBuffer throughBuffer,
WritableByteChannel sink)
Platform-independent channel-to-channel transfer method.
|
Copyright © 2015. All rights reserved.