|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WritableMessageChannel
A channel that can send messages.
| Method Summary | |
|---|---|
boolean |
send(java.nio.ByteBuffer buffer)
Send a complete message. |
boolean |
send(java.nio.ByteBuffer[] buffers)
Send a complete message. |
boolean |
send(java.nio.ByteBuffer[] buffers,
int offs,
int len)
Send a complete message. |
| Methods inherited from interface org.jboss.xnio.channels.SuspendableWriteChannel |
|---|
awaitWritable, awaitWritable, resumeWrites, shutdownWrites, suspendWrites |
| Methods inherited from interface java.nio.channels.Channel |
|---|
close, isOpen |
| Methods inherited from interface org.jboss.xnio.channels.Configurable |
|---|
getOption, getOptions, setOption |
| Method Detail |
|---|
boolean send(java.nio.ByteBuffer buffer)
throws java.io.IOException
buffer - the message to send
true if the message was sent, or false if there was insufficient room in the send buffer
java.io.IOException - if an I/O error occurs
boolean send(java.nio.ByteBuffer[] buffers)
throws java.io.IOException
buffers - the buffers holding the message to send
true if the message was sent, or false if there was insufficient room in the send buffer
java.io.IOException - if an I/O error occurs
boolean send(java.nio.ByteBuffer[] buffers,
int offs,
int len)
throws java.io.IOException
buffers - the buffers holding the message to sendoffs - the offset into the buffer array of the first bufferlen - the number of buffers that contain data to send
true if the message was sent, or false if there was insufficient room in the send buffer
java.io.IOException - if an I/O error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||