
public interface WritableMultipointMessageChannel extends SuspendableWriteChannel
MultipointMessageChannel| Modifier and Type | Method and Description |
|---|---|
ChannelListener.Setter<? extends WritableMultipointMessageChannel> |
getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
ChannelListener.Setter<? extends WritableMultipointMessageChannel> |
getWriteSetter()
Get the setter which can be used to change the write listener for this channel.
|
boolean |
sendTo(java.net.SocketAddress target,
java.nio.ByteBuffer buffer)
Send a buffer to a destination.
|
boolean |
sendTo(java.net.SocketAddress target,
java.nio.ByteBuffer[] buffers)
Send a message with data from multiple buffers to a destination.
|
boolean |
sendTo(java.net.SocketAddress target,
java.nio.ByteBuffer[] buffers,
int offset,
int length)
Send a message with data from multiple buffers to a destination.
|
awaitWritable, awaitWritable, close, flush, getWriteThread, isWriteResumed, resumeWrites, shutdownWrites, suspendWrites, wakeupWritesgetWorkergetOption, setOption, supportsOptionboolean sendTo(java.net.SocketAddress target,
java.nio.ByteBuffer buffer)
throws java.io.IOException
target - the destinationbuffer - the data to sendtrue if the message was sent, or false if the channel is not currently writablejava.io.IOException - if an I/O error occursboolean sendTo(java.net.SocketAddress target,
java.nio.ByteBuffer[] buffers)
throws java.io.IOException
target - the destinationbuffers - the data to sendtrue if the message was sent, or false if the channel is not currently writablejava.io.IOException - if an I/O error occursboolean sendTo(java.net.SocketAddress target,
java.nio.ByteBuffer[] buffers,
int offset,
int length)
throws java.io.IOException
target - the destinationbuffers - the data to sendoffset - the offset into the buffers arraylength - the number of buffers to read fromtrue if the message was sent, or false if the channel is not currently writablejava.io.IOException - if an I/O error occursChannelListener.Setter<? extends WritableMultipointMessageChannel> getWriteSetter()
getWriteSetter in interface SuspendableWriteChannelChannelListener.Setter<? extends WritableMultipointMessageChannel> getCloseSetter()
getCloseSetter in interface CloseableChannelgetCloseSetter in interface SuspendableWriteChannelCopyright © 2010 JBoss, a division of Red Hat, Inc.