public static class TcpCommunicationSpi.HandshakeMessage2 extends TcpCommunicationSpi.HandshakeMessage
MESSAGE_FULL_SIZE
DIRECT_TYPE_SIZE
Constructor and Description |
---|
TcpCommunicationSpi.HandshakeMessage2() |
Modifier and Type | Method and Description |
---|---|
int |
connectionIndex() |
short |
directType()
Gets message type.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
connectCount, fieldsCount, nodeId, onAckReceived, received
public TcpCommunicationSpi.HandshakeMessage2()
public short directType()
directType
in interface Message
directType
in class TcpCommunicationSpi.HandshakeMessage
public int connectionIndex()
connectionIndex
in class TcpCommunicationSpi.HandshakeMessage
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo
in interface Message
writeTo
in class TcpCommunicationSpi.HandshakeMessage
buf
- Byte buffer.writer
- Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom
in interface Message
readFrom
in class TcpCommunicationSpi.HandshakeMessage
buf
- Byte buffer.reader
- Reader.public String toString()
toString
in class TcpCommunicationSpi.HandshakeMessage
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017