public class DoneMsg extends RoutableMsg
ALL_SERVERS, destination, senderID, THE_CLOSEST_SERVER, UNKNOWN_SERVER
MSG_TYPE_DISK_ENCODING
Constructor and Description |
---|
DoneMsg(int serverID,
int i)
Creates a message.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes(short protocolVersion)
Serializes the PDU using the provided replication protocol version.
|
getDestination, getSenderID, toString
generateMsg
public DoneMsg(int serverID, int i)
serverID
- The sender server of this message.i
- The server or servers targeted by this message.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.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.