Enum Class MsgEventType

java.lang.Object
java.lang.Enum<MsgEventType>
org.ka2ddo.yaac.ax25.MsgEventType
All Implemented Interfaces:
Serializable, Comparable<MsgEventType>, Constable

public enum MsgEventType extends Enum<MsgEventType>
Enumeration of event typeMask that can request appropriate sound effects.
Author:
Andrew Pavlin, KA2DDO
  • Enum Constant Details

    • MESSAGE_TO

      public static final MsgEventType MESSAGE_TO
      APRS text message received addressed explicitly to this station. Parameter is MessageMessage.
    • MESSAGE_CQ

      public static final MsgEventType MESSAGE_CQ
      APRS text message calling CQ. Parameter is MessageMessage.
    • MESSAGE_WEATHER_WARN

      public static final MsgEventType MESSAGE_WEATHER_WARN
      APRS text message from a government weather office warning of severe weather. Parameter is MessageMessage.
    • EMERGENCY

      public static final MsgEventType EMERGENCY
      Message reporting emergency precedence. Parameter is AX25Message specifying the precedence.
    • PRIORITY

      public static final MsgEventType PRIORITY
      Message reporting priority precedence. Parameter is AX25Message specifying the precedence.
    • SPECIAL

      public static final MsgEventType SPECIAL
      Message reporting special precedence. Parameter is AX25Message specifying the precedence.
    • ALARM

      public static final MsgEventType ALARM
      Generic alarm not associated with any particular message or precedence. Parameter is text String.
    • NEW_IN_RANGE

      public static final MsgEventType NEW_IN_RANGE
      A station has sent a position report indicating it is newly within defined maximum range. Parameter is StationState of station.
    • NEW_OBJECT_IN_RANGE

      public static final MsgEventType NEW_OBJECT_IN_RANGE
      An object position report has been sent indicating it is newly within defined maximum range. Parameter is StationState of object.
    • DX_BAND_OPENING

      public static final MsgEventType DX_BAND_OPENING
      A DX band opening report has been received. Parameter is DXRecord record.
    • BEL

      public static final MsgEventType BEL
      Terminal session received an ASCII/Unicode BEL control character. No parameter.
      See Also:
    • OBJ_TAKEOVER

      public static final MsgEventType OBJ_TAKEOVER
      Someone else took over one of our Objects/Items. Parameter is ObjectReport of the takeover.
    • NEW_STATION

      public static final MsgEventType NEW_STATION
      New station added to local knowledge base. Parameter is StationState of the new station.
    • NEW_OBJECT

      public static final MsgEventType NEW_OBJECT
      New object added to local knowledge base. Parameter is StationState of the new Object.
    • STATION_OUT_OF_RANGE

      public static final MsgEventType STATION_OUT_OF_RANGE
      Known station moved out of defined maximum range. Parameter is StationState of the moved station.
    • INTERNET_LOST

      public static final MsgEventType INTERNET_LOST
      Internet connection has been lost. Text is String hostname of network server, other is PortConnector object.
    • INTERNET_RESTORED

      public static final MsgEventType INTERNET_RESTORED
      Internet connection has been restored. Text is String hostname of network server, other is PortConnector object.
    • GPS_LOCK_LOST

      public static final MsgEventType GPS_LOCK_LOST
      GPS lock has been lost. Other is GpsFix object containing latest GPS report.
    • GPS_LOCK_ACQUIRED

      public static final MsgEventType GPS_LOCK_ACQUIRED
      GPS lock has been acquired. Other is GpsFix object containing latest GPS report.
    • NEW_BULLETIN

      public static final MsgEventType NEW_BULLETIN
      A new bulletin message has been received. Msg is MessageMessage containing new (or modified, not exact duplicate) bulletin line.
    • OBJECT_OUT_OF_RANGE

      public static final MsgEventType OBJECT_OUT_OF_RANGE
      Known object moved out of defined maximum range. Ss is StationState of the moved object.
    • CRITICAL_ERROR

      public static final MsgEventType CRITICAL_ERROR
      Critical error message that the user should be informed about. Text is String of error message.
    • NEW_REPEATER_IN_RANGE

      public static final MsgEventType NEW_REPEATER_IN_RANGE
      A new station or object identifying itself as a repeater has been discovered. Ss is StationState of the station or object.
    • TRACKED_STATION

      public static final MsgEventType TRACKED_STATION
      A station or object being explicitly tracked has moved. Ss is StationState of the station or object.
    • ANNOUNCEMENT

      public static final MsgEventType ANNOUNCEMENT
      A non-critical announcement of an arbitrary event. Text is String of announcement text. Only makes sense when used with speech synthesizer mode.
    • STATION_TIMED_OUT

      public static final MsgEventType STATION_TIMED_OUT
      A specially-tagged station has not been heard from in the specified period of time. Ss is StationState of old station.
  • Method Details

    • values

      public static MsgEventType[] 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 MsgEventType 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
    • getParamClass

      public Class<?> getParamClass()
      Get the Class of the primary parameter expected for this event type.
      Returns:
      Class of expected parameter type