Enum FrameRejectReason.RejectReason
- java.lang.Object
-
- java.lang.Enum<FrameRejectReason.RejectReason>
-
- org.openmuc.jdlms.sessionlayer.hdlc.FrameRejectReason.RejectReason
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FrameRejectReason.RejectReason>
- Enclosing class:
- FrameRejectReason
public static enum FrameRejectReason.RejectReason extends java.lang.Enum<FrameRejectReason.RejectReason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTOL_FIELD_UNDEFINED
INFORMATION_SIZE_EXCEEDED
INVALID_INFORMATION
INVALID_RECEIVE_SEQUENCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
CONTOL_FIELD_UNDEFINED
public static final FrameRejectReason.RejectReason CONTOL_FIELD_UNDEFINED
-
INVALID_INFORMATION
public static final FrameRejectReason.RejectReason INVALID_INFORMATION
-
INFORMATION_SIZE_EXCEEDED
public static final FrameRejectReason.RejectReason INFORMATION_SIZE_EXCEEDED
-
INVALID_RECEIVE_SEQUENCE
public static final FrameRejectReason.RejectReason INVALID_RECEIVE_SEQUENCE
-
-
Method Detail
-
values
public static FrameRejectReason.RejectReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FrameRejectReason.RejectReason c : FrameRejectReason.RejectReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FrameRejectReason.RejectReason valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
mask
public byte mask()
-
reasonsFor
public static java.util.List<FrameRejectReason.RejectReason> reasonsFor(byte bits)
-
-