|
XNIO API 2.1.0.CR2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use WritableMessageChannel | |
|---|---|
| org.jboss.xnio.channels | Defines an enhanced set of channels. |
| Uses of WritableMessageChannel in org.jboss.xnio.channels |
|---|
| Subinterfaces of WritableMessageChannel in org.jboss.xnio.channels | |
|---|---|
interface |
DatagramChannel<A>
A channel that sends and receives datagrams. |
interface |
MessageChannel
A channel that sends and receives whole messages. |
| Methods in org.jboss.xnio.channels with type parameters of type WritableMessageChannel | ||
|---|---|---|
static
|
Channels.sendBlocking(C channel,
ByteBuffer buffer)
Simple utility method to execute a blocking send on a message channel. |
|
static
|
Channels.sendBlocking(C channel,
ByteBuffer[] buffers,
int offs,
int len)
Simple utility method to execute a blocking gathering send on a message channel. |
|
static
|
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
|
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. |
|
| Methods in org.jboss.xnio.channels that return WritableMessageChannel | |
|---|---|
static WritableMessageChannel |
Channels.createMessageWriter(StreamSinkChannel channel,
OptionMap optionMap)
Create a writable message channel which wraps a stream sink channel using a simple length-body protocol. |
| Methods in org.jboss.xnio.channels that return types with arguments of type WritableMessageChannel | |
|---|---|
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. |
|
XNIO API 2.1.0.CR2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||