Package org.ka2ddo.ax25
Enum Class AX25Message.Precedence
- All Implemented Interfaces:
Serializable
,Comparable<AX25Message.Precedence>
,Constable
- Enclosing class:
- AX25Message
This enum defines the allowed traffic precedence levels for messages.
- Author:
- Andrew Pavlin, KA2DDO
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionTop-priority traffic preempting all other traffic, regarding life and safety issues.Time-sensitive traffic needing preferred handling.Normal traffic with no preferential handling.Station with reason to be specially monitored.Health and welfare traffic. -
Method Summary
Modifier and TypeMethodDescriptionstatic AX25Message.Precedence
Returns the enum constant of this class with the specified name.static AX25Message.Precedence[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ROUTINE
Normal traffic with no preferential handling. -
WELFARE
Health and welfare traffic. Not currently implemented in APRS, but reserved for future expansion. -
SPECIAL
Station with reason to be specially monitored. -
PRIORITY
Time-sensitive traffic needing preferred handling. -
EMERGENCY
Top-priority traffic preempting all other traffic, regarding life and safety issues.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-