Class ProtocolDecoder
java.lang.Object
org.metricshub.ipmi.core.coding.protocol.decoder.ProtocolDecoder
- All Implemented Interfaces:
IpmiDecoder
- Direct Known Subclasses:
Protocolv15Decoder,Protocolv20Decoder
Decodes IPMI session header and retrieves encrypted payload. Payload must be
IPMI LAN format message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationTypedecodeAuthenticationType(RmcpMessage message) DecodesAuthenticationTypeof the message so that the version of the IPMI protocol could be determined.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.metricshub.ipmi.core.coding.protocol.decoder.IpmiDecoder
decode
-
Constructor Details
-
ProtocolDecoder
public ProtocolDecoder()
-
-
Method Details
-
decodeAuthenticationType
DecodesAuthenticationTypeof the message so that the version of the IPMI protocol could be determined.- Parameters:
message- - RMCP message to decode.- Returns:
AuthenticationTypeof the message.
-