public abstract class ProtocolDecoder extends java.lang.Object implements IpmiDecoder
Constructor and Description |
---|
ProtocolDecoder() |
Modifier and Type | Method and Description |
---|---|
abstract IpmiMessage |
decode(RmcpMessage rmcpMessage)
Decodes IPMI message.
|
static AuthenticationType |
decodeAuthenticationType(RmcpMessage message)
Decodes
AuthenticationType of the message so that the version of
the IPMI protocol could be determined. |
public abstract IpmiMessage decode(RmcpMessage rmcpMessage) throws java.lang.IllegalArgumentException, java.security.InvalidKeyException
decode
in interface IpmiDecoder
rmcpMessage
- - RMCP message to decode.java.lang.IllegalArgumentException
- when delivered RMCP message does not contain encapsulated
IPMI message.java.security.InvalidKeyException
- - when initiation of the integrity algorithm failsIpmiMessage
public static AuthenticationType decodeAuthenticationType(RmcpMessage message)
AuthenticationType
of the message so that the version of
the IPMI protocol could be determined.message
- - RMCP message to decode.AuthenticationType
of the message.