public class Message extends Object
Field
objects and SBE message attributes.
What is difference between Message
and the Intermediate Representation (IR)?
Constructor and Description |
---|
Message(Node messageNode,
Map<String,Type> typeByNameMap)
Construct a new message from XML Schema.
|
Modifier and Type | Method and Description |
---|---|
int |
blockLength()
Return the encodedLength of the
Message in bytes including any padding. |
int |
deprecated()
Version in which message was deprecated.
|
String |
description()
The description of the message (if set) or null
|
List<Field> |
fields()
Return the list of fields in the message
|
int |
id()
Return the template schemaId of the message
|
String |
name()
Return the name of the message
|
String |
semanticType()
The semanticType of the message (if set) or null
|
int |
sinceVersion()
The version since this was added to the template.
|
String |
toString() |
public Message(Node messageNode, Map<String,Type> typeByNameMap) throws XPathExpressionException
messageNode
- from the XML Schema ParsingtypeByNameMap
- holding type information for messageXPathExpressionException
- on invalid XPathpublic int id()
public String name()
public String description()
public String semanticType()
public int sinceVersion()
public int deprecated()
public List<Field> fields()
List
of the Field objects in this Messagepublic int blockLength()
Message
in bytes including any padding.Message
in bytes including any padding.Copyright © 2013-2022 Real Logic Limited. All Rights Reserved.