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.
|
Modifier and Type | Method and Description |
---|---|
static <T extends WritableMessageChannel> |
ChannelListeners.sendingChannelListener(Pooled<ByteBuffer> pooled,
ChannelListener<? super T> delegate,
ChannelExceptionHandler<? super T> exceptionHandler)
A sending channel listener.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConnectedMessageChannel
A channel that sends and receives messages to a connected peer.
|
interface |
MessageChannel
A channel that sends and receives whole messages.
|
Modifier and Type | Class and Description |
---|---|
class |
AssembledConnectedMessageChannel
A connected bidirectional message channel assembled from a readable and writable message channel.
|
class |
AssembledMessageChannel
A bidirectional message channel assembled from a readable and writable message channel.
|
class |
FramedMessageChannel
Deprecated.
This class is deprecated; use conduits instead.
|
Modifier and Type | Method and Description |
---|---|
static <C extends WritableMessageChannel> |
Channels.sendBlocking(C channel,
ByteBuffer buffer)
Simple utility method to execute a blocking send on a message channel.
|
static <C extends WritableMessageChannel> |
Channels.sendBlocking(C channel,
ByteBuffer[] buffers,
int offs,
int len)
Simple utility method to execute a blocking gathering send on a message channel.
|
static <C extends WritableMessageChannel> |
Channels.sendBlocking(C channel,
ByteBuffer[] buffers,
int offs,
int len,
long time,
TimeUnit unit)
Simple utility method to execute a blocking gathering send on a message channel with a timeout.
|
static <C extends WritableMessageChannel> |
Channels.sendBlocking(C channel,
ByteBuffer buffer,
long time,
TimeUnit unit)
Simple utility method to execute a blocking send on a message channel with a timeout.
|
Modifier and Type | Method and Description |
---|---|
ChannelListener.Setter<? extends WritableMessageChannel> |
WritableMessageChannel.getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
ChannelListener.Setter<? extends WritableMessageChannel> |
WritableMessageChannel.getWriteSetter()
Get the setter which can be used to change the write listener for this channel.
|
Constructor and Description |
---|
AssembledConnectedMessageChannel(ConnectedChannel connection,
ReadableMessageChannel readable,
WritableMessageChannel writable)
Construct a new instance.
|
AssembledConnectedMessageChannel(ReadableMessageChannel readable,
WritableMessageChannel writable)
Construct a new instance.
|
AssembledMessageChannel(CloseableChannel closeable,
ReadableMessageChannel readable,
WritableMessageChannel writable)
Construct a new instance.
|
AssembledMessageChannel(ReadableMessageChannel readable,
WritableMessageChannel writable)
Construct a new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
ConduitWritableMessageChannel
A writable message channel which is backed by a message sink conduit.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.