public static enum ConnState.ConnType extends java.lang.Enum<ConnState.ConnType>
Enum Constant and Description |
---|
CLOSED
Either negotiation failed or the connection has been closed.
|
MOD128
Using a 128-frame sliding window (if both ends speak AX.25 v2.2).
|
MOD8
Using an eight-frame sliding window (all that AX.25 V2.0 can handle).
|
NONE
Not currently connection-oriented (still in initial negotiation).
|
Modifier and Type | Method and Description |
---|---|
static ConnState.ConnType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnState.ConnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnState.ConnType NONE
public static final ConnState.ConnType MOD8
public static final ConnState.ConnType MOD128
public static final ConnState.ConnType CLOSED
AX25InputStream
to report end-of-file.public static ConnState.ConnType[] values()
for (ConnState.ConnType c : ConnState.ConnType.values()) System.out.println(c);
public static ConnState.ConnType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null