|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.replication.protocol.ReplicationMessage
org.opends.server.replication.protocol.RoutableMessage
org.opends.server.replication.protocol.InitializeTargetMessage
public class InitializeTargetMessage
This message is part of the replication protocol. This message is sent by a server to one or several servers as the first message of an export, before sending the entries.
| Field Summary |
|---|
| Fields inherited from class org.opends.server.replication.protocol.RoutableMessage |
|---|
ALL_SERVERS, destination, senderID, THE_CLOSEST_SERVER, UNKNOWN_SERVER |
| Constructor Summary | |
|---|---|
InitializeTargetMessage(byte[] in)
Creates an InitializeTargetMessage by decoding the provided byte array. |
|
InitializeTargetMessage(DN baseDN,
short senderID,
short destination,
short requestorID,
long entryCount)
Creates a InitializeDestinationMessage. |
|
| Method Summary | |
|---|---|
DN |
getBaseDN()
Get the base DN of the domain. |
byte[] |
getBytes()
Return the byte[] representation of this message. |
long |
getEntryCount()
Get the number of entries expected to be sent during the export. |
long |
getRequestorID()
Get the serverID of the server that initiated the export. |
| Methods inherited from class org.opends.server.replication.protocol.RoutableMessage |
|---|
getDestination, getsenderID, toString |
| Methods inherited from class org.opends.server.replication.protocol.ReplicationMessage |
|---|
addByteArray, generateMsg, getNextLength |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InitializeTargetMessage(DN baseDN,
short senderID,
short destination,
short requestorID,
long entryCount)
baseDN - The base DN for which the InitializeMessage is created.senderID - 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.
public InitializeTargetMessage(byte[] in)
throws java.util.zip.DataFormatException
in - A byte array containing the encoded information for the Message
java.util.zip.DataFormatException - If the in does not contain a properly
encoded InitializeMessage.| Method Detail |
|---|
public long getEntryCount()
public long getRequestorID()
public DN getBaseDN()
public byte[] getBytes()
getBytes in class ReplicationMessage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||