Class InitializeRequestMsg
java.lang.Object
org.opends.server.replication.protocol.ReplicationMsg
org.opends.server.replication.protocol.InitializationMsg
org.opends.server.replication.protocol.InitializeRequestMsg
This message is part of the replication protocol. This message is sent by a server to another server in order to
 request this other server to do an export to the server sender of this message.
- 
Field SummaryFields inherited from class org.opends.server.replication.protocol.InitializationMsgdestination, senderIdFields inherited from class org.opends.server.replication.protocol.ReplicationMsgMSG_TYPE_DISK_ENCODING
- 
Constructor SummaryConstructorsConstructorDescriptionInitializeRequestMsg(Dn baseDN, ReplicaId replicaId, ReplicaId destination, int initWindow) Creates a InitializeRequestMsg message.
- 
Method SummaryModifier and TypeMethodDescriptionGet the base DN from this InitializeRequestMsg.byte[]getBytes(short version) Serializes the PDU using the provided replication protocol version.intReturn the initWindow value.Get the server ID of the server that sent this message.voidsetInitWindow(int initWindow) Set the initWindow value.toString()Get a string representation of this object.Methods inherited from class org.opends.server.replication.protocol.InitializationMsggetDestinationMethods inherited from class org.opends.server.replication.protocol.ReplicationMsgdecodeMsg, isRetryable
- 
Constructor Details- 
InitializeRequestMsgCreates a InitializeRequestMsg message.- Parameters:
- baseDN- the base DN of the replication domain.
- destination- destination of this message
- replicaId- replica id of the server that will send this message
- initWindow- initialization window for flow control
 
 
- 
- 
Method Details- 
getBaseDNGet the base DN from this InitializeRequestMsg.- Returns:
- the base DN from this InitializeRequestMsg.
 
- 
getBytespublic byte[] getBytes(short version) Description copied from class:ReplicationMsgSerializes the PDU using the provided replication protocol version. WARNING: should be overwritten by a PDU (sub class) we want to support older protocol version serialization for.- Specified by:
- getBytesin class- ReplicationMsg
- Parameters:
- version- The protocol version to use for serialization. The version should normally be older than the current one.
- Returns:
- The encoded PDU, or nullif the message isn't supported in that protocol version.
 
- 
toStringGet a string representation of this object.- Overrides:
- toStringin class- InitializationMsg
- Returns:
- A string representation of this object.
 
- 
getInitWindowpublic int getInitWindow()Return the initWindow value.- Returns:
- the initWindow.
 
- 
setInitWindowpublic void setInitWindow(int initWindow) Set the initWindow value.- Parameters:
- initWindow- The initialization window.
 
- 
getSenderIDDescription copied from class:InitializationMsgGet the server ID of the server that sent this message.- Overrides:
- getSenderIDin class- InitializationMsg
- Returns:
- the server id
 
 
-