Class GetDeviceSdrInfoResponseData

java.lang.Object
org.metricshub.ipmi.core.coding.commands.sdr.GetDeviceSdrInfoResponseData
All Implemented Interfaces:
ResponseData

public class GetDeviceSdrInfoResponseData extends Object implements ResponseData
The response to GetDeviceSdrInfo (IPMI 2.0 table 35-2).
  • Constructor Details

    • GetDeviceSdrInfoResponseData

      public GetDeviceSdrInfoResponseData(int count, boolean dynamicPopulation, int lunsWithSensors, Long populationChangeIndicator)
      Creates the response.
      Parameters:
      count - the number of SDRs of the device, or of sensors at the LUN, as the request asked
      dynamicPopulation - whether the sensor population of the device may change at run time
      lunsWithSensors - the LUNs that have sensors, bit n set for LUN n
      populationChangeIndicator - the timestamp or counter of the last change of a dynamic population, null for a static one
  • Method Details

    • getCount

      public int getCount()
      Returns:
      the number of SDRs of the device, or of sensors at the LUN, as the request asked
    • isDynamicPopulation

      public boolean isDynamicPopulation()
      Returns:
      whether the sensor population of the device may change at run time
    • getLunsWithSensors

      public int getLunsWithSensors()
      Returns:
      the LUNs that have sensors: bit n set for LUN n
    • getPopulationChangeIndicator

      public Long getPopulationChangeIndicator()
      Returns:
      the timestamp or counter the device updates each time its sensor population changes, null for a static population