Package org.ka2ddo.ax25
Enum Class ConnState.ConnType
- All Implemented Interfaces:
Serializable
,Comparable<ConnState.ConnType>
,Constable
- Enclosing class:
- ConnState
Enumeration specifying the different types of connection-oriented AX.25 sessions.
- 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 ConstantDescriptionEither negotiation failed or the connection has been closed.Using a 128-frame sliding window (if both ends speak AX.25 v2.2).Using an eight-frame sliding window (all that AX.25 V2.0 can handle).Not currently connection-oriented (still in initial negotiation). -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnState.ConnType
Returns the enum constant of this class with the specified name.static ConnState.ConnType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Not currently connection-oriented (still in initial negotiation). -
MOD8
Using an eight-frame sliding window (all that AX.25 V2.0 can handle). -
MOD128
Using a 128-frame sliding window (if both ends speak AX.25 v2.2). -
CLOSED
Either negotiation failed or the connection has been closed. Used to tellAX25InputStream
to report end-of-file.
-
-
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
-