public class WindowMsg extends ReplicationMsg
MSG_TYPE_DISK_ENCODING
Constructor and Description |
---|
WindowMsg(int numAck)
Create a new WindowMsg.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes(short protocolVersion)
Serializes the PDU using the provided replication protocol version.
|
int |
getNumAck()
Get the number of message acknowledged by the Window message.
|
String |
toString() |
generateMsg
public WindowMsg(int numAck)
numAck
- The number of acknowledged messages.
The window will be increase by this credit number.public byte[] getBytes(short protocolVersion)
getBytes
in class ReplicationMsg
protocolVersion
- The protocol version to use for serialization. The version should
normally be older than the current one.null
if the message isn't supported
in that protocol version.public int getNumAck()
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.