Package org.yamcs.cfdp.pdu
Enum ConditionCode
- All Implemented Interfaces:
Serializable
,Comparable<ConditionCode>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte
getCode()
static ConditionCode
readConditionCode
(byte b) static ConditionCode
Returns the enum constant of this type with the specified name.static ConditionCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.void
writeAsByteToBuffer
(ByteBuffer buffer)
-
Enum Constant Details
-
NO_ERROR
-
ACK_LIMIT_REACHED
-
KEEP_ALIVE_LIMIT_REACHED
-
INVALID_TRANSMISSION_MODE
-
FILESTORE_REJECTION
-
FILE_CHECKSUM_FAILURE
-
FILE_SIZE_ERROR
-
NAK_LIMIT_REACHED
-
INACTIVITY_DETECTED
-
INVALID_FILE_STRUCTURE
-
CHECK_LIMIT_REACHED
-
UNSUPPORTED_CHECKSUM_TYPE
-
SUSPEND_REQUEST_RECEIVED
-
CANCEL_REQUEST_RECEIVED
-
RESERVED
-
-
Field Details
-
Lookup
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public byte getCode() -
readConditionCode
-
writeAsByteToBuffer
-