Enum Class ConnState.ConnType

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

public static enum ConnState.ConnType extends Enum<ConnState.ConnType>
Enumeration specifying the different types of connection-oriented AX.25 sessions.
Author:
Andrew Pavlin, KA2DDO
  • Enum Constant Details

    • NONE

      public static final ConnState.ConnType NONE
      Not currently connection-oriented (still in initial negotiation).
    • MOD8

      public static final ConnState.ConnType MOD8
      Using an eight-frame sliding window (all that AX.25 V2.0 can handle).
    • MOD128

      public static final ConnState.ConnType MOD128
      Using a 128-frame sliding window (if both ends speak AX.25 v2.2).
    • CLOSED

      public static final ConnState.ConnType CLOSED
      Either negotiation failed or the connection has been closed. Used to tell AX25InputStream to report end-of-file.
  • Method Details

    • values

      public static ConnState.ConnType[] 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 ConnState.ConnType 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