public class MessageSchema
extends java.lang.Object
Message
objects.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HEADER_TYPE_DEFAULT |
Constructor and Description |
---|
MessageSchema(org.w3c.dom.Node schemaNode,
java.util.Map<java.lang.String,Type> typeByNameMap,
java.util.Map<java.lang.Long,Message> messageByIdMap) |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteOrder |
byteOrder()
Return the byte order specified by the messageSchema
|
java.lang.String |
description()
The description of the schema.
|
Message |
getMessage(long messageId)
Return a given
Message object with the given messageId. |
int |
id()
The id number of the schema.
|
CompositeType |
messageHeader()
The Schema headerType for message headers.
|
java.util.Collection<Message> |
messages()
Get the
Collection of Message s for this Schema. |
java.lang.String |
packageName()
The package name for the schema.
|
java.lang.String |
semanticVersion()
The semantic version number of the schema.
|
int |
version()
The version number of the schema.
|
public static final java.lang.String HEADER_TYPE_DEFAULT
public CompositeType messageHeader()
CompositeType
.public java.lang.String packageName()
public java.lang.String description()
public int id()
public int version()
public java.lang.String semanticVersion()
public Message getMessage(long messageId)
Message
object with the given messageId.messageId
- of the message to return.Message
for the messageId.public java.util.Collection<Message> messages()
Collection
of Message
s for this Schema.Collection
of Message
s for this Schema.public java.nio.ByteOrder byteOrder()
ByteOrder
of the message encoding.Copyright © 2014-2017 Real Logic Ltd. All Rights Reserved.