public class StopMsg extends ReplicationMsg
MSG_TYPE_DISK_ENCODING
Constructor and Description |
---|
StopMsg()
Creates a message.
|
StopMsg(byte[] in)
Creates a new message by decoding the provided byte array.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes(short protocolVersion)
Serializes the PDU using the provided replication protocol version.
|
String |
toString() |
generateMsg
public StopMsg()
public StopMsg(byte[] in) throws DataFormatException
in
- A byte array containing the encoded information for the message,DataFormatException
- If the in does not contain a properly,
encoded message.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.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.