Enum Constant and Description |
---|
DISCONNECT |
DISCONNECT_MODE |
ERR_INVALID_TYPE |
FRAME_REJECT |
INFORMATION |
RECEIVE_NOT_READY |
RECEIVE_READY |
SET_NORMAL_RESPONSEMODE |
UNNUMBERED_ACKNOWLEDGE |
UNNUMBERED_INFORMATION |
Modifier and Type | Method and Description |
---|---|
static FrameType |
frameTypeFor(int controlByte) |
byte |
value() |
static FrameType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FrameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrameType INFORMATION
public static final FrameType RECEIVE_READY
public static final FrameType RECEIVE_NOT_READY
public static final FrameType SET_NORMAL_RESPONSEMODE
public static final FrameType DISCONNECT
public static final FrameType UNNUMBERED_ACKNOWLEDGE
public static final FrameType DISCONNECT_MODE
public static final FrameType FRAME_REJECT
public static final FrameType UNNUMBERED_INFORMATION
public static final FrameType ERR_INVALID_TYPE
public static FrameType[] values()
for (FrameType c : FrameType.values()) System.out.println(c);
public static FrameType 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 nullpublic byte value()
public static FrameType frameTypeFor(int controlByte)