public class TcpInverseConnectionResponseMessage extends Object implements TcpConnectionIndexAwareMessage
UNDEFINED_CONNECTION_INDEXDIRECT_TYPE_SIZE| Constructor and Description |
|---|
TcpInverseConnectionResponseMessage() |
TcpInverseConnectionResponseMessage(int connIdx) |
| Modifier and Type | Method and Description |
|---|---|
int |
connectionIndex() |
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
void |
onAckReceived()
Method called when ack message received.
|
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.
|
public TcpInverseConnectionResponseMessage()
public TcpInverseConnectionResponseMessage(int connIdx)
public int connectionIndex()
connectionIndex in interface TcpConnectionIndexAwareMessageTcpConnectionIndexAwareMessage.UNDEFINED_CONNECTION_INDEX if standard index has to be used. Desired connection index otherwise.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public void onAckReceived()
onAckReceived in interface Messagepublic boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Message
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021