public class HeaderStructure extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BLOCK_LENGTH
The field containing the length of the root block in bytes.
|
static String |
SCHEMA_ID
The field containing the schema id to which the following message belongs.
|
static String |
SCHEMA_VERSION
The field containing the version of the following message.
|
static String |
TEMPLATE_ID
The field containing the template id of the following message.
|
Constructor and Description |
---|
HeaderStructure(List<Token> tokens)
Construct the header structure from a list of tokens containing the minimum expected set of fields.
|
Modifier and Type | Method and Description |
---|---|
PrimitiveType |
blockLengthType()
The declared data type for the block length field.
|
PrimitiveType |
schemaIdType()
The declared data type for the SBE schema id field.
|
PrimitiveType |
schemaVersionType()
The declared data type for the SBE schema version field.
|
PrimitiveType |
templateIdType()
The declared data type for the template id field.
|
List<Token> |
tokens()
The IR tokens for the header.
|
public static final String BLOCK_LENGTH
public static final String TEMPLATE_ID
public static final String SCHEMA_ID
public static final String SCHEMA_VERSION
public List<Token> tokens()
public PrimitiveType blockLengthType()
public PrimitiveType templateIdType()
public PrimitiveType schemaIdType()
public PrimitiveType schemaVersionType()
Copyright © 2013-2022 Real Logic Limited. All Rights Reserved.