public class WindowProbeMsg extends ReplicationMsg
A sending entity that is blocked because its send window is closed for a while should create such a message to check that the window closure is valid.
An entity that received such a message should respond with a
WindowMsg indicating the current credit available.
| Constructor and Description |
|---|
WindowProbeMsg()
Create a new WindowProbeMsg message.
|
WindowProbeMsg(byte[] in)
Creates a new WindowProbeMsg from its encoded form.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes(short protocolVersion)
Serializes the PDU using the provided replication protocol version.
|
generateMsgpublic WindowProbeMsg()
public WindowProbeMsg(byte[] in) throws DataFormatException
in - The byte array containing the encoded form of the
WindowMessage.DataFormatException - If the byte array does not contain a valid
encoded form of the WindowMessage.public byte[] getBytes(short protocolVersion)
getBytes in class ReplicationMsgprotocolVersion - 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.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.