Class GetDeviceSdrInfoResponseData
java.lang.Object
org.metricshub.ipmi.core.coding.commands.sdr.GetDeviceSdrInfoResponseData
- All Implemented Interfaces:
ResponseData
The response to
GetDeviceSdrInfo (IPMI 2.0 table 35-2).-
Constructor Summary
ConstructorsConstructorDescriptionGetDeviceSdrInfoResponseData(int count, boolean dynamicPopulation, int lunsWithSensors, Long populationChangeIndicator) Creates the response. -
Method Summary
-
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 askeddynamicPopulation- whether the sensor population of the device may change at run timelunsWithSensors- the LUNs that have sensors, bit n set for LUN npopulationChangeIndicator- 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
- Returns:
- the timestamp or counter the device updates each time its sensor population changes, null for a static population
-