Enum Class AX25Message.Precedence

java.lang.Object
java.lang.Enum<AX25Message.Precedence>
org.ka2ddo.ax25.AX25Message.Precedence
All Implemented Interfaces:
Serializable, Comparable<AX25Message.Precedence>, Constable
Enclosing class:
AX25Message

public static enum AX25Message.Precedence extends Enum<AX25Message.Precedence>
This enum defines the allowed traffic precedence levels for messages.
Author:
Andrew Pavlin, KA2DDO
  • Enum Constant Details

    • ROUTINE

      public static final AX25Message.Precedence ROUTINE
      Normal traffic with no preferential handling.
    • WELFARE

      public static final AX25Message.Precedence WELFARE
      Health and welfare traffic. Not currently implemented in APRS, but reserved for future expansion.
    • SPECIAL

      public static final AX25Message.Precedence SPECIAL
      Station with reason to be specially monitored.
    • PRIORITY

      public static final AX25Message.Precedence PRIORITY
      Time-sensitive traffic needing preferred handling.
    • EMERGENCY

      public static final AX25Message.Precedence EMERGENCY
      Top-priority traffic preempting all other traffic, regarding life and safety issues.
  • Method Details

    • values

      public static AX25Message.Precedence[] 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

      public static AX25Message.Precedence valueOf(String name)
      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 name
      NullPointerException - if the argument is null