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() |
generateMsgpublic 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)
ReplicationMsggetBytes in class ReplicationMsgprotocolVersion - 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-2020 Wren Security. All Rights Reserved.