|
|||||||||
| 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.InitializeRequestMessage
public class InitializeRequestMessage
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 Summary |
|---|
| Fields inherited from class org.opends.server.replication.protocol.RoutableMessage |
|---|
ALL_SERVERS, destination, senderID, THE_CLOSEST_SERVER, UNKNOWN_SERVER |
| Constructor Summary | |
|---|---|
InitializeRequestMessage(byte[] in)
Creates a new InitializeRequestMessage by decoding the provided byte array. |
|
InitializeRequestMessage(DN baseDn,
short senderID,
short destination)
Creates a InitializeRequestMessage message. |
|
| Method Summary | |
|---|---|
DN |
getBaseDn()
Get the base DN from this InitializeRequestMessage. |
byte[] |
getBytes()
Return the byte[] representation of this message. |
java.lang.String |
toString()
Get a string representation of this object. |
| Methods inherited from class org.opends.server.replication.protocol.RoutableMessage |
|---|
getDestination, getsenderID |
| 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 InitializeRequestMessage(DN baseDn,
short senderID,
short destination)
baseDn - The base DN of the replication domain.destination - destination of this messagesenderID - serverID of the server that will send this message
public InitializeRequestMessage(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 DN getBaseDn()
public byte[] getBytes()
getBytes in class ReplicationMessagepublic java.lang.String toString()
toString in class RoutableMessage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||