Enum HandlerCode

java.lang.Object
java.lang.Enum<HandlerCode>
org.yamcs.cfdp.pdu.HandlerCode
All Implemented Interfaces:
Serializable, Comparable<HandlerCode>, java.lang.constant.Constable

public enum HandlerCode extends Enum<HandlerCode>
  • Enum Constant Details

    • RESERVED

      public static final HandlerCode RESERVED
    • NOTICE_OF_CANCELLATION

      public static final HandlerCode NOTICE_OF_CANCELLATION
    • NOTICE_OF_SUSPENSION

      public static final HandlerCode NOTICE_OF_SUSPENSION
    • IGNORE_ERROR

      public static final HandlerCode IGNORE_ERROR
    • ABANDON_TRANSACTION

      public static final HandlerCode ABANDON_TRANSACTION
  • Field Details

  • Method Details

    • values

      public static HandlerCode[] 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

      public static HandlerCode valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
    • readHandlerCode

      public static HandlerCode readHandlerCode(byte b)