public abstract class StartMsg extends ReplicationMsg
Modifier and Type | Field and Description |
---|---|
protected long |
generationId
Generation id of data set we want to work with.
|
protected byte |
groupId
Group id of the replicated domain.
|
protected short |
protocolVersion
Protocol version.
|
MSG_TYPE_DISK_ENCODING
Modifier | Constructor and Description |
---|---|
protected |
StartMsg()
Create a new StartMsg.
|
Modifier and Type | Method and Description |
---|---|
long |
getGenerationId()
Get the generationId from this message.
|
byte |
getGroupId()
Get the group id in this message.
|
short |
getVersion()
Get the version included in the Start message mean the replication
protocol version used by the server that created the message.
|
void |
setGroupId(byte groupId)
Set the group id in this message (For test purpose).
|
generateMsg, getBytes
protected short protocolVersion
protected long generationId
protected byte groupId
protected StartMsg()
public short getVersion()
public long getGenerationId()
public byte getGroupId()
public void setGroupId(byte groupId)
groupId
- The group id to set.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.