Class DoneMsg
java.lang.Object
org.opends.server.replication.protocol.ReplicationMsg
org.opends.server.replication.protocol.InitializationMsg
org.opends.server.replication.protocol.DoneMsg
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 InitializationMsg
destination, senderIdFields inherited from class ReplicationMsg
MSG_TYPE_DISK_ENCODING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes(short protocolVersion) Serializes the PDU using the provided replication protocol version.Get the server ID of the server that sent this message.Methods inherited from class InitializationMsg
getDestination, toStringMethods inherited from class ReplicationMsg
decodeMsg, isRetryable
-
Constructor Details
-
DoneMsg
-
-
Method Details
-
getBytes
public byte[] getBytes(short protocolVersion) 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 classReplicationMsg- Parameters:
protocolVersion- 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.
-
getSenderID
Description copied from class:InitializationMsgGet the server ID of the server that sent this message.- Overrides:
getSenderIDin classInitializationMsg- Returns:
- the server id
-