Class SolInboundStatusField

java.lang.Object
org.metricshub.ipmi.core.coding.payload.sol.SolInboundStatusField

public class SolInboundStatusField extends Object
SolInboundStatusField is a transfer object for status sent by remote system to this application in SolInboundMessage.
  • Constructor Details

    • SolInboundStatusField

      public SolInboundStatusField(Set<SolStatus> statuses)
      Creates new instance if SolInboundStatusField without Acknowledge data.
      Parameters:
      statuses - Set of SOL specific statuses for inbound message
    • SolInboundStatusField

      public SolInboundStatusField(SolAckState ackState, Set<SolStatus> statuses)
      Creates new instance of SolInboundStatusField filled with given data.
      Parameters:
      ackState - Acknowledge state carried by this object
      statuses - Set of SOL specific statuses for inbound message
    • SolInboundStatusField

      public SolInboundStatusField(byte raw)
      Creates new instance of SolInboundStatusField from raw byte.
      Parameters:
      raw - byte carrying information about SOL status
  • Method Details

    • getStatuses

      public Set<SolStatus> getStatuses()
    • getAckState

      public SolAckState getAckState()
    • convertToByte

      public byte convertToByte()
      Convert this object to it's raw, byte representation.