public class InitializeRequestMsg extends RoutableMsg
ALL_SERVERS, destination, senderID, THE_CLOSEST_SERVER, UNKNOWN_SERVER
MSG_TYPE_DISK_ENCODING
Constructor and Description |
---|
InitializeRequestMsg(org.forgerock.opendj.ldap.Dn baseDN,
int serverID,
int destination,
int initWindow)
Creates a InitializeRequestMsg message.
|
Modifier and Type | Method and Description |
---|---|
org.forgerock.opendj.ldap.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.
|
void |
setInitWindow(int initWindow)
Set the initWindow value.
|
String |
toString()
Get a string representation of this object.
|
getDestination, getSenderID
generateMsg
public InitializeRequestMsg(org.forgerock.opendj.ldap.Dn baseDN, int serverID, int destination, int initWindow)
baseDN
- the base DN of the replication domain.destination
- destination of this messageserverID
- serverID of the server that will send this messageinitWindow
- initialization window for flow controlpublic org.forgerock.opendj.ldap.Dn getBaseDN()
public byte[] getBytes(short version)
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.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.