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 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.
|
Modifier and Type | Method and Description |
---|---|
static void |
Channels.transferBlocking(StreamSinkChannel destination,
FileChannel source,
long startPosition,
long count)
Transfer bytes between two channels efficiently, blocking if necessary.
|
long |
StreamSourceChannel.transferTo(long count,
ByteBuffer throughBuffer,
StreamSinkChannel target)
Transfers bytes into the given channel target.
|
Constructor and Description |
---|
BlockingWritableByteChannel(StreamSinkChannel delegate)
Construct a new instance.
|
BlockingWritableByteChannel(StreamSinkChannel delegate,
long writeTimeout,
TimeUnit writeTimeoutUnit)
Construct a new instance.
|
Modifier and Type | Field and Description |
---|---|
protected StreamSinkChannel |
ChannelOutputStream.channel |
Constructor and Description |
---|
ChannelOutputStream(StreamSinkChannel channel)
Construct a new instance.
|
ChannelOutputStream(StreamSinkChannel channel,
long timeout,
TimeUnit unit)
Construct a new instance.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.