Package org.km3net.clb.remote
Enum CmdBase.BpsComResult
- java.lang.Object
-
- java.lang.Enum<CmdBase.BpsComResult>
-
- org.km3net.clb.remote.CmdBase.BpsComResult
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CmdBase.BpsComResult>
- Enclosing class:
- CmdBase
public static enum CmdBase.BpsComResult extends java.lang.Enum<CmdBase.BpsComResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECKUM_FAILEDEOF_NOT_FOUNDINVALID_ADDRESSINVALID_HEX_CHAROUT_OF_BOUNDSRESULT_OKSOF_NOT_FOUNDTIMEOUTUNEXPECTED_LENGTHUNEXPECTED_RESPONSE_CODE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmdBase.BpsComResultvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CmdBase.BpsComResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESULT_OK
public static final CmdBase.BpsComResult RESULT_OK
-
TIMEOUT
public static final CmdBase.BpsComResult TIMEOUT
-
SOF_NOT_FOUND
public static final CmdBase.BpsComResult SOF_NOT_FOUND
-
OUT_OF_BOUNDS
public static final CmdBase.BpsComResult OUT_OF_BOUNDS
-
INVALID_ADDRESS
public static final CmdBase.BpsComResult INVALID_ADDRESS
-
UNEXPECTED_RESPONSE_CODE
public static final CmdBase.BpsComResult UNEXPECTED_RESPONSE_CODE
-
INVALID_HEX_CHAR
public static final CmdBase.BpsComResult INVALID_HEX_CHAR
-
CHECKUM_FAILED
public static final CmdBase.BpsComResult CHECKUM_FAILED
-
EOF_NOT_FOUND
public static final CmdBase.BpsComResult EOF_NOT_FOUND
-
UNEXPECTED_LENGTH
public static final CmdBase.BpsComResult UNEXPECTED_LENGTH
-
-
Method Detail
-
values
public static CmdBase.BpsComResult[] 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 (CmdBase.BpsComResult c : CmdBase.BpsComResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmdBase.BpsComResult 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
-
-