Enum AoservDaemonProtocol.Version
java.lang.Object
java.lang.Enum<AoservDaemonProtocol.Version>
com.aoindustries.aoserv.daemon.client.AoservDaemonProtocol.Version
- All Implemented Interfaces:
Serializable
,Comparable<AoservDaemonProtocol.Version>
- Enclosing class:
AoservDaemonProtocol
Each time the protocols are changed in a way that is not backwards-compatible, please increase this number
so that older clients will not be allowed to connect, rather than get undefined erroneous behavior.
These versions roughly match the version of AoservProtocol.Version.CURRENT_VERSION
at the time they were first used.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic AoservDaemonProtocol.Version
getVersion
(String version) Gets a specific version given its unique version string.toString()
static AoservDaemonProtocol.Version
Returns the enum constant of this type with the specified name.static AoservDaemonProtocol.Version[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VERSION_1_1
-
VERSION_1_2
-
VERSION_1_6
-
VERSION_1_6_1
-
VERSION_1_6_2
-
VERSION_1_8
-
VERSION_1_9
-
VERSION_1_13
-
VERSION_1_18
-
VERSION_1_18_1
-
VERSION_1_28
-
VERSION_1_28_1
-
VERSION_1_29
-
VERSION_1_30
-
VERSION_1_31
-
VERSION_1_35
-
VERSION_1_60
-
VERSION_1_63
-
VERSION_1_76
-
VERSION_1_77
-
VERSION_1_80_0
-
VERSION_1_80_1
-
VERSION_1_81_10
-
VERSION_1_83_0
-
VERSION_1_84_11
-
VERSION_1_84_13
-
VERSION_1_84_19
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getVersion
Gets a specific version given its unique version string.- Throws:
IllegalArgumentException
- if version not found- See Also:
-
getVersion
-
toString
- Overrides:
toString
in classEnum<AoservDaemonProtocol.Version>
-