Class ActivatePayload
java.lang.Object
org.metricshub.ipmi.core.coding.PayloadCoder
org.metricshub.ipmi.core.coding.commands.IpmiCommandCoder
org.metricshub.ipmi.core.coding.commands.payload.ActivatePayload
- Direct Known Subclasses:
ActivateSolPayload
An abstract wrapper class for Activate Payload Command. Every
PayloadType
should have it's own concrete implementation.-
Method Summary
Modifier and TypeMethodDescriptionboolean
byte
Retrieves command code specific for command represented by this classRetrieves network function specific for command represented by this class.abstract PayloadType
getResponseData
(IpmiMessage message) Retrieves payload-specific response data from IPMI messageint
hashCode()
Methods inherited from class org.metricshub.ipmi.core.coding.commands.IpmiCommandCoder
getSupportedPayloadType, isCommandResponse
Methods inherited from class org.metricshub.ipmi.core.coding.PayloadCoder
encodePayload, getAuthenticationType, getCipherSuite, getIpmiVersion, setAuthenticationType, setCipherSuite, setIpmiVersion, setSessionParameters
-
Method Details
-
getPayloadType
- Returns:
- type of the payload activated by this command.
-
getCommandCode
public byte getCommandCode()Description copied from class:IpmiCommandCoder
Retrieves command code specific for command represented by this class- Specified by:
getCommandCode
in classIpmiCommandCoder
- Returns:
- command code
-
getNetworkFunction
Description copied from class:IpmiCommandCoder
Retrieves network function specific for command represented by this class.- Specified by:
getNetworkFunction
in classIpmiCommandCoder
- Returns:
- network function
- See Also:
-
getResponseData
public ResponseData getResponseData(IpmiMessage message) throws IPMIException, NoSuchAlgorithmException, InvalidKeyException Description copied from class:PayloadCoder
Retrieves payload-specific response data from IPMI message- Specified by:
getResponseData
in classPayloadCoder
- Parameters:
message
- - IPMI message- Returns:
- response data
- Throws:
IPMIException
- when response completion code isn't OK.NoSuchAlgorithmException
- when authentication, confidentiality or integrity algorithm fails.InvalidKeyException
- when creating of the authentication algorithm key fails
-
equals
-
hashCode
public int hashCode()
-