java.lang.Object
java.lang.Enum<SolAckState>
org.metricshub.ipmi.core.coding.payload.sol.SolAckState
All Implemented Interfaces:
Serializable, Comparable<SolAckState>

public enum SolAckState extends Enum<SolAckState>
Enumeration of possible acknowledge states for SOL messages.
  • Enum Constant Details

    • ACK

      public static final SolAckState ACK
      Message was acknowledged.
    • NACK

      public static final SolAckState NACK
      Message was not acknowledged.
  • Method Details

    • values

      public static SolAckState[] 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 SolAckState 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
    • extractFromByte

      public static SolAckState extractFromByte(byte value)
      Extracts SolAckState from given byte.
      Parameters:
      value - byte with encoded SolAckState
      Returns:
      SolAckState extracted from byte
    • encodeInByte

      public byte encodeInByte(byte value)
      Encode information about this SolAckState in given byte, returning updated byte.
      Parameters:
      value - current byte value
      Returns:
      updated byte value