public class HandshakeMessage2 extends HandshakeMessage
MESSAGE_FULL_SIZEDIRECT_TYPE_SIZE| Constructor and Description |
|---|
HandshakeMessage2() |
HandshakeMessage2(UUID nodeId,
long connectCnt,
long rcvCnt,
int connIdx) |
| 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, receivedpublic HandshakeMessage2()
public HandshakeMessage2(UUID nodeId, long connectCnt, long rcvCnt, int connIdx)
nodeId - Node ID.connectCnt - Connect count.rcvCnt - Number of received messages.connIdx - Connection index.public short directType()
directType in interface MessagedirectType in class HandshakeMessagepublic int connectionIndex()
connectionIndex in class HandshakeMessagepublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in interface MessagewriteTo in class HandshakeMessagebuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom in interface MessagereadFrom in class HandshakeMessagebuf - Byte buffer.reader - Reader.public String toString()
toString in class HandshakeMessage
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019