public final class MessageStructureFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static MessageStructure |
getStructure(byte[] serializedMessage)
Gets a
MessageStructure instance based on the first byte (magic byte). |
public static MessageStructure getStructure(byte[] serializedMessage)
MessageStructure
instance based on the first byte (magic byte).serializedMessage
- Message serialized.