|
|||||||||
| 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.WindowMessage
public class WindowMessage
This message is used by LDAP server or by Replication Servers to update the send window of the remote entities. A receiving entity should create such a message with a given credit when it wants to open the send window of the remote entity. A LDAP or Replication Server should increase its send window when receiving such a message.
| Constructor Summary | |
|---|---|
WindowMessage(byte[] in)
Creates a new WindowMessage from its encoded form. |
|
WindowMessage(int numAck)
Create a new WindowMessage. |
|
| Method Summary | |
|---|---|
byte[] |
getBytes()
Return the byte[] representation of this message. |
int |
getNumAck()
Get the number of message acknowledged by the Window 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 WindowMessage(int numAck)
numAck - The number of acknowledged messages.
The window will be increase by this credit number.
public WindowMessage(byte[] in)
throws java.util.zip.DataFormatException
in - The byte array containing the encoded form of the
WindowMessage.
java.util.zip.DataFormatException - If the byte array does not contain a valid
encoded form of the WindowMessage.| Method Detail |
|---|
public byte[] getBytes()
getBytes in class ReplicationMessagepublic int getNumAck()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||