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