public class InitializeRequestMsg extends RoutableMsg
destination, senderId
MSG_TYPE_DISK_ENCODING
Constructor and Description |
---|
InitializeRequestMsg(Dn baseDN,
ReplicaId replicaId,
ReplicaId destination,
int initWindow)
Creates a InitializeRequestMsg message.
|
Modifier and Type | Method and Description |
---|---|
Dn |
getBaseDN()
Get the base DN from this InitializeRequestMsg.
|
byte[] |
getBytes(short version)
Serializes the PDU using the provided replication protocol version.
|
int |
getInitWindow()
Return the initWindow value.
|
ReplicaId |
getSenderID()
Get the server ID of the server that sent this message.
|
void |
setInitWindow(int initWindow)
Set the initWindow value.
|
String |
toString()
Get a string representation of this object.
|
getDestination
decodeMsg, isRetryable
public InitializeRequestMsg(Dn baseDN, ReplicaId replicaId, ReplicaId destination, int initWindow)
baseDN
- the base DN of the replication domain.destination
- destination of this messagereplicaId
- replica id of the server that will send this messageinitWindow
- initialization window for flow controlpublic Dn getBaseDN()
public byte[] getBytes(short version)
ReplicationMsg
getBytes
in class ReplicationMsg
version
- 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 getInitWindow()
public void setInitWindow(int initWindow)
initWindow
- The initialization window.public ReplicaId getSenderID()
RoutableMsg
getSenderID
in class RoutableMsg
Copyright 2010-2022 ForgeRock AS.