Class RmcpDecoder
java.lang.Object
org.metricshub.ipmi.core.coding.rmcp.RmcpDecoder
Decodes RMCP packet from raw data.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RmcpMessagedecode(byte[] rawMessage) Decodes the RMCP packet from raw data.
-
Method Details
-
decode
Decodes the RMCP packet from raw data.- Parameters:
rawMessage- - packet data in a byte form- Returns:
- RMCPMessage
- Throws:
IllegalArgumentException- - occurs when message is too short or contains invalid data
-