public class InitializeTargetMsg extends RoutableMsg
ALL_SERVERS, destination, senderID, THE_CLOSEST_SERVER, UNKNOWN_SERVER| Constructor and Description |
|---|
InitializeTargetMsg(DN baseDN,
int serverID,
int destination,
int requestorID,
long entryCount,
int initWindow)
Creates a InitializeTargetMsg.
|
| Modifier and Type | Method and Description |
|---|---|
DN |
getBaseDN()
Get the base DN of the domain.
|
byte[] |
getBytes(short version)
Serializes the PDU using the provided replication protocol version.
|
long |
getEntryCount()
Get the number of entries expected to be sent during the export.
|
long |
getInitiatorID()
Get the serverID of the server that initiated the export.
|
int |
getInitWindow()
Get the initializationWindow.
|
void |
setInitWindow(int initWindow)
Set the initWindow value.
|
getDestination, getSenderID, toStringgenerateMsgpublic InitializeTargetMsg(DN baseDN, int serverID, int destination, int requestorID, long entryCount, int initWindow)
baseDN - The base DN for which the InitializeMessage is created.serverID - The serverID of the server that sends this message.destination - The destination of this message.requestorID - The server that initiates this export.entryCount - The count of entries that will be sent.initWindow - the initialization window.public long getEntryCount()
public long getInitiatorID()
public int getInitWindow()
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 void setInitWindow(int initWindow)
initWindow - The initialization window.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.