public class ProtocolVersion extends Object
Modifier and Type | Field and Description |
---|---|
static short |
REPLICATION_PROTOCOL_V1
The constant for the first historical version of the replication protocol.
|
static short |
REPLICATION_PROTOCOL_V1_REAL
The constant for the real value of the first historical version of the
replication protocol (was used in start messages only).
|
static short |
REPLICATION_PROTOCOL_V2
The constant for the second version of the replication protocol.
|
static short |
REPLICATION_PROTOCOL_V3
The constant for the 3rd version of the replication protocol.
|
static short |
REPLICATION_PROTOCOL_V4
The constant for the 4th version of the replication protocol.
|
static short |
REPLICATION_PROTOCOL_V5
The constant for the 5th version of the replication protocol.
|
static short |
REPLICATION_PROTOCOL_V6
The constant for the 6th version of the replication protocol.
|
static short |
REPLICATION_PROTOCOL_V7
The constant for the 7th version of the replication protocol.
|
static short |
REPLICATION_PROTOCOL_V8
The constant for the 8th version of the replication protocol.
|
Constructor and Description |
---|
ProtocolVersion() |
Modifier and Type | Method and Description |
---|---|
static short |
getCompatibleVersion(short version)
Specifies the oldest version of the protocol from the provided one
and the current one.
|
static short |
getCurrentVersion()
Gets the current version of the replication protocol.
|
public static final short REPLICATION_PROTOCOL_V1
public static final short REPLICATION_PROTOCOL_V1_REAL
public static final short REPLICATION_PROTOCOL_V2
public static final short REPLICATION_PROTOCOL_V3
public static final short REPLICATION_PROTOCOL_V4
public static final short REPLICATION_PROTOCOL_V5
public static final short REPLICATION_PROTOCOL_V6
public static final short REPLICATION_PROTOCOL_V7
public static final short REPLICATION_PROTOCOL_V8
public ProtocolVersion()
public static short getCurrentVersion()
public static short getCompatibleVersion(short version)
version
- The version to be compared to the current one.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.