Class GetDeviceId
java.lang.Object
org.metricshub.ipmi.core.coding.PayloadCoder
org.metricshub.ipmi.core.coding.commands.IpmiCommandCoder<GetDeviceIdResponseData>
org.metricshub.ipmi.core.coding.commands.app.GetDeviceId
Wrapper for the Get Device ID command (IPMI 2.0 section 20.1): the identity of the controller, its firmware and
the functions it provides. It has no request data; the reply is a
GetDeviceIdResponseData.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyteRetrieves command code specific for command represented by this classRetrieves network function specific for command represented by this class.getResponseData(IpmiMessage message) Retrieves payload-specific response data from IPMI messageMethods inherited from class org.metricshub.ipmi.core.coding.commands.IpmiCommandCoder
getNetworkFunctionCode, getSupportedPayloadType, isCommandResponseMethods inherited from class org.metricshub.ipmi.core.coding.PayloadCoder
encodePayload, getAuthenticationType, getCipherSuite, getIpmiVersion, setAuthenticationType, setCipherSuite, setIpmiVersion, setSessionParameters
-
Constructor Details
-
GetDeviceId
public GetDeviceId()Initiates GetDeviceId for encoding and decoding.
-
-
Method Details
-
getCommandCode
public byte getCommandCode()Description copied from class:IpmiCommandCoderRetrieves command code specific for command represented by this class- Specified by:
getCommandCodein classIpmiCommandCoder<GetDeviceIdResponseData>- Returns:
- command code
-
getNetworkFunction
Description copied from class:IpmiCommandCoderRetrieves network function specific for command represented by this class.- Specified by:
getNetworkFunctionin classIpmiCommandCoder<GetDeviceIdResponseData>- Returns:
- network function, or null for a command of a network function
NetworkFunctiondoes not list, which overridesIpmiCommandCoder.getNetworkFunctionCode()instead - See Also:
-
getResponseData
Description copied from class:PayloadCoderRetrieves payload-specific response data from IPMI message- Specified by:
getResponseDatain classIpmiCommandCoder<GetDeviceIdResponseData>- Parameters:
message- - IPMI message- Returns:
- response data
- Throws:
IPMIException- when response completion code isn't OK.
-