MultipointMessageChannel
| Modifier and Type | Method and Description |
|---|---|
| public ChannelListener. | getCloseSetter()
Redeclares org. Get the setter which can be used to change the close listener for this channel. |
| public ChannelListener. | getWriteSetter()
Redeclares org. Get the setter which can be used to change the write listener for this channel. |
| public boolean | Returns: true if the message was sent, or false if the channel is not currently writablethe destination target, ByteBuffer the data to send buffer)Send a buffer to a destination. |
| public boolean | Returns: true if the message was sent, or false if the channel is not currently writablethe destination target, ByteBuffer[] the data to send buffers)Send a message with data from multiple buffers to a destination. |
| public boolean | Returns: true if the message was sent, or false if the channel is not currently writablethe destination target, ByteBuffer[] the data to send buffers, int the offset into the offset, int buffers arraythe number of buffers to read from length)Send a message with data from multiple buffers to a destination. |
| getCloseSetter | back to summary |
|---|---|
| public ChannelListener. Redeclares org. Doc from org. Get the setter which can be used to change the close listener for this channel. If the channel is already closed, then the listener will not be called.
| |
| getWriteSetter | back to summary |
|---|---|
| public ChannelListener. Redeclares org. Doc from org. Get the setter which can be used to change the write listener for this channel.
| |
| sendTo | back to summary |
|---|---|
| public boolean sendTo(SocketAddress target, ByteBuffer buffer) throws IOException Send a buffer to a destination.
| |
| sendTo | back to summary |
|---|---|
| public boolean sendTo(SocketAddress target, ByteBuffer[] buffers) throws IOException Send a message with data from multiple buffers to a destination.
| |
| sendTo | back to summary |
|---|---|
| public boolean sendTo(SocketAddress target, ByteBuffer[] buffers, int offset, int length) throws IOException Send a message with data from multiple buffers to a destination.
| |