Modifier and Type | Field and Description |
---|---|
static String |
HEADER_TYPE_DEFAULT
Default message header type name for the SBE spec.
|
Modifier and Type | Method and Description |
---|---|
ByteOrder |
byteOrder()
Return the byte order specified by the messageSchema
|
String |
description()
The description of the schema.
|
Message |
getMessage(long messageId)
Return a given
Message object with the given messageId. |
Type |
getType(String typeName)
Get the
Type for a given name. |
int |
id()
The id number of the schema.
|
CompositeType |
messageHeader()
The Schema headerType for message headers.
|
Collection<Message> |
messages()
Get the
Collection of Message s for this Schema. |
String |
packageName()
The package name for the schema.
|
String |
semanticVersion()
The semantic version number of the schema.
|
void |
validate(ErrorHandler errorHandler)
Validate the message schema and delegate warnings and errors to the supplied
ErrorHandler . |
int |
version()
The version number of the schema.
|
public static final String HEADER_TYPE_DEFAULT
public CompositeType messageHeader()
CompositeType
.public String packageName()
public String description()
public int id()
public int version()
public String semanticVersion()
public Message getMessage(long messageId)
Message
object with the given messageId.messageId
- of the message to return.Message
for the messageId.public Type getType(String typeName)
Type
for a given name.typeName
- to lookup.public Collection<Message> messages()
Collection
of Message
s for this Schema.Collection
of Message
s for this Schema.public ByteOrder byteOrder()
ByteOrder
of the message encoding.public void validate(ErrorHandler errorHandler)
ErrorHandler
.errorHandler
- for delegating warnings and errors.Copyright © 2013-2022 Real Logic Limited. All Rights Reserved.