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 size of the
Message in bytes including any padding. |
String |
description()
The description of the message (if set) or null
|
List<Field> |
fields()
Return the list of fields in the message
|
String |
headerType()
|
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
|
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 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 Real Logic Ltd. All Rights Reserved.