Package | Description |
---|---|
org.xnio |
The main API package for XNIO.
|
org.xnio.channels | |
org.xnio.streams |
Modifier and Type | Method and Description |
---|---|
void |
XnioWorker.createOneWayPipe(ChannelListener<? super StreamSourceChannel> sourceListener,
ChannelListener<? super StreamSinkChannel> sinkListener,
OptionMap optionMap)
Open a unidirectional stream pipe.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConnectedSslStreamChannel
A TLS-encapsulated connected stream channel.
|
interface |
ConnectedStreamChannel
A stream channel that is a connection between a local and remote endpoint.
|
interface |
StreamChannel
A stream channel.
|
Modifier and Type | Method and Description |
---|---|
ChannelListener.Setter<? extends StreamSourceChannel> |
StreamSourceChannel.getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
ChannelListener.Setter<? extends StreamSourceChannel> |
StreamSourceChannel.getReadSetter()
Get the setter which can be used to change the read listener for this channel.
|
Modifier and Type | Method and Description |
---|---|
static void |
Channels.transferBlocking(FileChannel destination,
StreamSourceChannel source,
long startPosition,
long count)
Transfer bytes between two channels efficiently, blocking if necessary.
|
long |
StreamSinkChannel.transferFrom(StreamSourceChannel source,
long count,
ByteBuffer throughBuffer)
Transfers bytes from the given channel source.
|
Constructor and Description |
---|
BlockingReadableByteChannel(StreamSourceChannel delegate)
Construct a new instance.
|
BlockingReadableByteChannel(StreamSourceChannel delegate,
long readTimeout,
TimeUnit readTimeoutUnit)
Construct a new instance.
|
Modifier and Type | Field and Description |
---|---|
protected StreamSourceChannel |
ChannelInputStream.channel |
Constructor and Description |
---|
BufferedChannelInputStream(StreamSourceChannel channel,
int bufferSize)
Construct a new instance.
|
BufferedChannelInputStream(StreamSourceChannel channel,
int bufferSize,
long timeout,
TimeUnit unit)
Construct a new instance.
|
ChannelInputStream(StreamSourceChannel channel)
Construct a new instance.
|
ChannelInputStream(StreamSourceChannel channel,
long timeout,
TimeUnit timeoutUnit)
Construct a new instance.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.