|
|||||||||
| 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.DoneMessage
public class DoneMessage
This message is part of the replication protocol. This message is sent by a server to one or several other servers after the last entry sent in the context of a total update and signals to the server that receives it that the export is now finished.
| Field Summary |
|---|
| Fields inherited from class org.opends.server.replication.protocol.RoutableMessage |
|---|
ALL_SERVERS, destination, senderID, THE_CLOSEST_SERVER, UNKNOWN_SERVER |
| Constructor Summary | |
|---|---|
DoneMessage(byte[] in)
Creates a new message by decoding the provided byte array. |
|
DoneMessage(short sender,
short destination)
Creates a message. |
|
| Method Summary | |
|---|---|
byte[] |
getBytes()
Return the byte[] representation of this message. |
| 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 DoneMessage(short sender,
short destination)
sender - The sender server of this message.destination - The server or servers targetted by this message.
public DoneMessage(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 message.| Method Detail |
|---|
public byte[] getBytes()
getBytes in class ReplicationMessage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||