|
XNIO API 3.0.7.GA | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SuspendableReadChannel | |
|---|---|
| org.xnio | The main API package for XNIO. |
| org.xnio.channels | |
| Uses of SuspendableReadChannel in org.xnio |
|---|
| Methods in org.xnio with parameters of type SuspendableReadChannel | |
|---|---|
static void |
IoUtils.safeShutdownReads(SuspendableReadChannel channel)
Safely shutdown reads on the given channel. |
| Uses of SuspendableReadChannel in org.xnio.channels |
|---|
| Subinterfaces of SuspendableReadChannel in org.xnio.channels | |
|---|---|
interface |
BoundMultipointMessageChannel
A multipoint datagram channel. |
interface |
ConnectedMessageChannel
A channel that sends and receives messages to a connected peer. |
interface |
ConnectedSslStreamChannel
A TLS-encapsulated connected stream channel. |
interface |
ConnectedStreamChannel
A stream channel that is a connection between a local and remote endpoint. |
interface |
MessageChannel
A channel that sends and receives whole messages. |
interface |
MulticastMessageChannel
A multicast-capable point-to-multipoint channel. |
interface |
MultipointMessageChannel
A point-to-multipoint message channel. |
interface |
ReadableMessageChannel
A channel that can receive messages. |
interface |
ReadableMultipointMessageChannel
The readable side of a multipoint message channel. |
interface |
StreamChannel
A stream channel. |
interface |
StreamSourceChannel
A stream source channel. |
interface |
SuspendableChannel
A suspendable bidirectional channel. |
| Classes in org.xnio.channels that implement SuspendableReadChannel | |
|---|---|
class |
FramedMessageChannel
A connected message channel providing a SASL-style framing layer over a stream channel where each message is prepended by a four-byte length field. |
class |
TranslatingSuspendableChannel<C extends SuspendableChannel,W extends SuspendableChannel>
An abstract wrapped channel. |
| Methods in org.xnio.channels with type parameters of type SuspendableReadChannel | ||
|---|---|---|
static
|
Channels.readBlocking(C channel,
ByteBuffer buffer)
Simple utility method to execute a blocking read on a readable byte channel. |
|
static
|
Channels.readBlocking(C channel,
ByteBuffer[] buffers,
int offs,
int len)
Simple utility method to execute a blocking read on a scattering byte channel. |
|
static
|
Channels.readBlocking(C channel,
ByteBuffer[] buffers,
int offs,
int len,
long time,
TimeUnit unit)
Simple utility method to execute a blocking read on a scattering byte channel with a timeout. |
|
static
|
Channels.readBlocking(C channel,
ByteBuffer buffer,
long time,
TimeUnit unit)
Simple utility method to execute a blocking read on a readable byte channel with a timeout. |
|
static
|
Channels.setReadListener(T channel,
ChannelListener<? super T> listener)
Set the read listener for a channel (type-safe). |
|
| Methods in org.xnio.channels that return types with arguments of type SuspendableReadChannel | |
|---|---|
ChannelListener.Setter<? extends SuspendableReadChannel> |
SuspendableReadChannel.getCloseSetter()
Get the setter which can be used to change the close listener for this channel. |
ChannelListener.Setter<? extends SuspendableReadChannel> |
SuspendableReadChannel.getReadSetter()
Get the setter which can be used to change the read listener for this channel. |
|
XNIO API 3.0.7.GA | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||