public class InitializeRcvAckMsg extends RoutableMsg
ALL_SERVERS, destination, senderID, THE_CLOSEST_SERVER, UNKNOWN_SERVER
MSG_TYPE_DISK_ENCODING
Constructor and Description |
---|
InitializeRcvAckMsg(int sender,
int destination,
int numAck)
Create a new message..
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes(short protocolVersion)
Serializes the PDU using the provided replication protocol version.
|
int |
getNumAck()
Get the number of message acknowledged by this message.
|
String |
toString() |
getDestination, getSenderID
generateMsg
public InitializeRcvAckMsg(int sender, int destination, int numAck)
sender
- The server ID of the server that send this message.destination
- The destination server or servers of this message.numAck
- The number of acknowledged messages.
The window will be increase by this credit number.public byte[] getBytes(short protocolVersion)
getBytes
in class ReplicationMsg
protocolVersion
- The protocol version to use for serialization. The version should
normally be older than the current one.null
if the message isn't supported
in that protocol version.public String toString()
toString
in class RoutableMsg
public int getNumAck()
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.