| Modifier and Type | Field and Description |
|---|---|
static String |
HEADER_TYPE_DEFAULT |
| Constructor and Description |
|---|
MessageSchema(Node schemaNode,
Map<String,Type> typeByNameMap,
Map<Long,Message> messageByIdMap) |
| 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 schemaId)
Return a given
Message object with the given schemaId. |
int |
id()
The id number of the schema.
|
CompositeType |
messageHeader()
The Schema headerType for message headers.
|
Collection<Message> |
messages()
Get the
Collection of Messages for this Schema. |
String |
packageName()
The package name for the schema.
|
String |
semanticVersion()
The semantic version number of the schema.
|
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 schemaId)
Message object with the given schemaId.schemaId - of the message to return.Message for the schemaId.public Collection<Message> messages()
Collection of Messages for this Schema.Collection of Messages for this Schema.Copyright © 2013 Real Logic Ltd. All Rights Reserved.