Class MessageHeaderDecoder
- java.lang.Object
-
- pl.allegro.tech.hermes.consumers.consumer.rate.sbe.stubs.MessageHeaderDecoder
-
public class MessageHeaderDecoder extends java.lang.ObjectMessage identifiers and length of message root
-
-
Field Summary
Fields Modifier and Type Field Description static java.nio.ByteOrderBYTE_ORDERstatic intENCODED_LENGTHstatic intSCHEMA_IDstatic intSCHEMA_VERSION
-
Constructor Summary
Constructors Constructor Description MessageHeaderDecoder()
-
Method Summary
-
-
-
Field Detail
-
SCHEMA_ID
public static final int SCHEMA_ID
- See Also:
- Constant Field Values
-
SCHEMA_VERSION
public static final int SCHEMA_VERSION
- See Also:
- Constant Field Values
-
ENCODED_LENGTH
public static final int ENCODED_LENGTH
- See Also:
- Constant Field Values
-
BYTE_ORDER
public static final java.nio.ByteOrder BYTE_ORDER
-
-
Method Detail
-
wrap
public MessageHeaderDecoder wrap(org.agrona.DirectBuffer buffer, int offset)
-
buffer
public org.agrona.DirectBuffer buffer()
-
offset
public int offset()
-
encodedLength
public int encodedLength()
-
sbeSchemaId
public int sbeSchemaId()
-
sbeSchemaVersion
public int sbeSchemaVersion()
-
blockLengthEncodingOffset
public static int blockLengthEncodingOffset()
-
blockLengthEncodingLength
public static int blockLengthEncodingLength()
-
blockLengthSinceVersion
public static int blockLengthSinceVersion()
-
blockLengthNullValue
public static int blockLengthNullValue()
-
blockLengthMinValue
public static int blockLengthMinValue()
-
blockLengthMaxValue
public static int blockLengthMaxValue()
-
blockLength
public int blockLength()
-
templateIdEncodingOffset
public static int templateIdEncodingOffset()
-
templateIdEncodingLength
public static int templateIdEncodingLength()
-
templateIdSinceVersion
public static int templateIdSinceVersion()
-
templateIdNullValue
public static int templateIdNullValue()
-
templateIdMinValue
public static int templateIdMinValue()
-
templateIdMaxValue
public static int templateIdMaxValue()
-
templateId
public int templateId()
-
schemaIdEncodingOffset
public static int schemaIdEncodingOffset()
-
schemaIdEncodingLength
public static int schemaIdEncodingLength()
-
schemaIdSinceVersion
public static int schemaIdSinceVersion()
-
schemaIdNullValue
public static int schemaIdNullValue()
-
schemaIdMinValue
public static int schemaIdMinValue()
-
schemaIdMaxValue
public static int schemaIdMaxValue()
-
schemaId
public int schemaId()
-
versionEncodingOffset
public static int versionEncodingOffset()
-
versionEncodingLength
public static int versionEncodingLength()
-
versionSinceVersion
public static int versionSinceVersion()
-
versionNullValue
public static int versionNullValue()
-
versionMinValue
public static int versionMinValue()
-
versionMaxValue
public static int versionMaxValue()
-
version
public int version()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
appendTo
public java.lang.StringBuilder appendTo(java.lang.StringBuilder builder)
-
-