public static enum KissEscapeOutputStream.RcvState extends java.lang.Enum<KissEscapeOutputStream.RcvState>
Enum Constant and Description |
---|
IDLE
KISS decoder has not received the first FEND byte since (re-)initialization.
|
IN_ESC
KISS decoder has received an FESC byte and is waiting for the TFEND or TFESC byte to indicate
which byte code was escaped.
|
IN_FRAME
KISS decoder has received an FEND byte and is waiting for more body bytes.
|
Modifier and Type | Method and Description |
---|---|
static KissEscapeOutputStream.RcvState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KissEscapeOutputStream.RcvState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KissEscapeOutputStream.RcvState IDLE
public static final KissEscapeOutputStream.RcvState IN_FRAME
public static final KissEscapeOutputStream.RcvState IN_ESC
public static KissEscapeOutputStream.RcvState[] values()
for (KissEscapeOutputStream.RcvState c : KissEscapeOutputStream.RcvState.values()) System.out.println(c);
public static KissEscapeOutputStream.RcvState 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