public static class TcpCommunicationSpi.RecoveryLastReceivedMessage extends Object implements Message
Constructor and Description |
---|
TcpCommunicationSpi.RecoveryLastReceivedMessage()
Default constructor required by
Message . |
TcpCommunicationSpi.RecoveryLastReceivedMessage(long rcvCnt) |
Modifier and Type | Method and Description |
---|---|
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
long |
received() |
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public TcpCommunicationSpi.RecoveryLastReceivedMessage()
Message
.public TcpCommunicationSpi.RecoveryLastReceivedMessage(long rcvCnt)
rcvCnt
- Number of received messages.public long received()
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public byte directType()
directType
in interface Message
public byte fieldsCount()
fieldsCount
in interface Message
Follow @ApacheIgnite
Apache Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015