|
|||||||||
| 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.AckMessage
public class AckMessage
Used to send acks between LDAP and replication servers.
| Constructor Summary | |
|---|---|
AckMessage(byte[] in)
Creates a new AckMessage by decoding the provided byte array. |
|
AckMessage(ChangeNumber changeNumber)
Creates a new AckMessage from a ChangeNumber. |
|
| Method Summary | |
|---|---|
byte[] |
getBytes()
Return the byte[] representation of this message. |
ChangeNumber |
getChangeNumber()
Get the ChangeNumber from the message. |
| 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, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AckMessage(ChangeNumber changeNumber)
changeNumber - The ChangeNumber used to build the AckMessage.
public AckMessage(byte[] in)
throws java.util.zip.DataFormatException
in - The byte array containing the encoded form of the AckMessage.
java.util.zip.DataFormatException - If in does not contain a properly encoded
AckMessage.| Method Detail |
|---|
public ChangeNumber getChangeNumber()
public byte[] getBytes()
getBytes in class ReplicationMessage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||