public class InitializeRequestMsg extends RoutableMsg
ALL_SERVERS, destination, senderID, THE_CLOSEST_SERVER, UNKNOWN_SERVER| Constructor and Description |
|---|
InitializeRequestMsg(DN baseDN,
int serverID,
int 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.
|
void |
setInitWindow(int initWindow)
Set the initWindow value.
|
String |
toString()
Get a string representation of this object.
|
getDestination, getSenderIDgenerateMsgpublic InitializeRequestMsg(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 DN getBaseDN()
public byte[] getBytes(short version)
getBytes in class ReplicationMsgversion - 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 RoutableMsgpublic int getInitWindow()
public void setInitWindow(int initWindow)
initWindow - The initialization window.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.