public static enum FrameRejectReason.RejectReason extends java.lang.Enum<FrameRejectReason.RejectReason>
Enum Constant and Description |
---|
CONTOL_FIELD_UNDEFINED |
INFORMATION_SIZE_EXCEEDED |
INVALID_INFORMATION |
INVALID_RECEIVE_SEQUENCE |
Modifier and Type | Method and Description |
---|---|
byte |
mask() |
static java.util.List<FrameRejectReason.RejectReason> |
reasonsFor(byte bits) |
static FrameRejectReason.RejectReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FrameRejectReason.RejectReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrameRejectReason.RejectReason CONTOL_FIELD_UNDEFINED
public static final FrameRejectReason.RejectReason INVALID_INFORMATION
public static final FrameRejectReason.RejectReason INFORMATION_SIZE_EXCEEDED
public static final FrameRejectReason.RejectReason INVALID_RECEIVE_SEQUENCE
public static FrameRejectReason.RejectReason[] values()
for (FrameRejectReason.RejectReason c : FrameRejectReason.RejectReason.values()) System.out.println(c);
public static FrameRejectReason.RejectReason 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 mask()
public static java.util.List<FrameRejectReason.RejectReason> reasonsFor(byte bits)