public class MonitorRequestMsg extends ReplicationMsg
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()
Returns a string representation of the message.
|
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)
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-2016 ForgeRock AS. All Rights Reserved.