public interface GridNioMessageWriter
| Modifier and Type | Method and Description |
|---|---|
boolean |
write(UUID nodeId,
GridTcpCommunicationMessageAdapter msg,
ByteBuffer buf) |
int |
writeFully(UUID nodeId,
GridTcpCommunicationMessageAdapter msg,
OutputStream out,
ByteBuffer buf) |
boolean write(@Nullable UUID nodeId, GridTcpCommunicationMessageAdapter msg, ByteBuffer buf)
nodeId - Node ID.msg - Message to write.buf - Buffer.int writeFully(@Nullable UUID nodeId, GridTcpCommunicationMessageAdapter msg, OutputStream out, ByteBuffer buf) throws IOException
nodeId - Node ID.msg - Message to write.out - Output stream to write to.buf - Buffer.IOException - In case of error.Copyright © 2014. All rights reserved.