public static enum Frame.FrameKind extends java.lang.Enum<Frame.FrameKind>
Enum Constant and Description |
---|
DISC
Disconnect (DISC) command.
|
DM
Disconnected mode (DM) response.
|
FRMR
Frame reject (FRMR) response.
|
I
Numbered information (I) frame.
|
RNR
Receive not ready (RNR) command and response.
|
RR
Receive ready (RR) command and response.
|
SNRM
Set normal response mode (SNRM) command.
|
UA
Unnumbered acknowledge (UA) response.
|
UI
Unnumbered information (UI) command and response.
|
Unknown
Unknown frame.
|
Modifier and Type | Method and Description |
---|---|
static Frame.FrameKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Frame.FrameKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Frame.FrameKind Unknown
public static final Frame.FrameKind I
public static final Frame.FrameKind RNR
public static final Frame.FrameKind RR
public static final Frame.FrameKind DISC
public static final Frame.FrameKind DM
public static final Frame.FrameKind FRMR
public static final Frame.FrameKind SNRM
public static final Frame.FrameKind UA
public static final Frame.FrameKind UI
public static Frame.FrameKind[] values()
for (Frame.FrameKind c : Frame.FrameKind.values()) System.out.println(c);
public static Frame.FrameKind 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