/
messages.xml
63 lines (59 loc) · 2.8 KB
/
messages.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
~ Copyright 2019-2023 Adaptive Financial Consulting Ltd.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ https://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<sbe:messageSchema xmlns:sbe="http://fixprotocol.io/2016/sbe"
package="com.aeroncookbook.cluster.async.sbe"
id="100"
version="1"
semanticVersion="0.1"
description="AeronCookbook Cluster RFQ SBE Messages"
byteOrder="littleEndian">
<types>
<composite name="messageHeader" description="Message identifiers and length of message root">
<type name="blockLength" primitiveType="uint16"/>
<type name="templateId" primitiveType="uint16"/>
<type name="schemaId" primitiveType="uint16"/>
<type name="version" primitiveType="uint16"/>
</composite>
<composite name="varStringEncoding">
<type name="length" primitiveType="uint32" maxValue="250"/>
<type name="varData" primitiveType="uint8" length="0" characterEncoding="UTF-8"/>
</composite>
<composite name="groupSizeEncoding" description="Repeating group dimensions.">
<type name="blockLength" primitiveType="uint16"/>
<type name="numInGroup" primitiveType="uint16"/>
</composite>
</types>
<sbe:message name="AddCommand" id="1" description="RSM Sample Add">
<field name="correlation" id="1" type="int64"/>
<field name="value" id="2" type="int32"/>
</sbe:message>
<sbe:message name="CurrentValueEvent" id="2" description="RSM Sample Current Value Event">
<field name="correlation" id="1" type="int64"/>
<field name="value" id="2" type="int32"/>
</sbe:message>
<sbe:message name="MultiplyCommand" id="3" description="RSM Sample Multiply">
<field name="correlation" id="1" type="int64"/>
<field name="value" id="2" type="int32"/>
</sbe:message>
<sbe:message name="SetCommand" id="4" description="RSM Sample Set">
<field name="correlation" id="1" type="int64"/>
<field name="value" id="2" type="int32"/>
</sbe:message>
<sbe:message name="Snapshot" id="5" description="RSM Snapshot">
<field name="value" id="1" type="int32"/>
</sbe:message>
</sbe:messageSchema>