OnixS C++ CBOE CFE Binary Order Entry (BOE) Handler 1.12.0
API documentation
Loading...
Searching...
No Matches
SessionMessages.In.h
Go to the documentation of this file.
1/*
2* Copyright Onix Solutions Limited [OnixS]. All rights reserved.
3*
4* This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
5* and international copyright treaties.
6*
7* Access to and use of the software is governed by the terms of the applicable ONIXS Software
8* Services Agreement (the Agreement) and Customer end user license agreements granting
9* a non-assignable, non-transferable and non-exclusive license to use the software
10* for it's own data processing purposes under the terms defined in the Agreement.
11*
12* Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
13* of this source code or associated reference material to any other location for further reproduction
14* or redistribution, and any amendments to this copyright notice, are expressly prohibited.
15*
16* Any reproduction or redistribution for sale or hiring of the Software not in accordance with
17* the terms of the Agreement is a violation of copyright law.
18*/
19#pragma once
20
23
24namespace OnixS {
25namespace CboeCFE {
26namespace Trading {
27namespace BOE {
28
30 struct ONIXS_CBOE_CFE_BOE_API LoginResponse : public BinaryMessage
31 {
37
39 StrRef text() const
40 {
41 return fixedStr<60>(1);
42 }
43
46 {
47 return ordinary<Binary4>(61);
48 }
49
52 {
53 return ordinary<Binary1>(65);
54 }
55
56 struct Unit : public BinaryMessage
57 {
59 {
60 return ordinary<Binary1>(0);
61 }
62
64 {
65 return ordinary<Binary4>(1);
66 }
67
68 Unit(const void* data, MessageSize size)
69 : BinaryMessage(data, size)
70 {
71 }
72 };
73
75 Unit units(MessageSize index) const
76 {
77 assert(index < numberOfUnits());
78
79 return submessage<Unit>(66 + 5 * index, 5);
80 }
81
82 LoginResponse(const void* data, MessageSize size)
83 : BinaryMessage(data, size)
84 {
85 }
86 };
87
89 struct ONIXS_CBOE_CFE_BOE_API ReplayComplete : public BinaryMessage
90 {
91 ReplayComplete(const void* data, MessageSize size)
92 : BinaryMessage(data, size)
93 {
94 }
95 };
96
98 struct ONIXS_CBOE_CFE_BOE_API LogoutResponse : public BinaryMessage
99 {
104
105 StrRef text() const
106 {
107 return fixedStr<60>(1);
108 }
109
110 LogoutResponse(const void* data, MessageSize size)
111 : BinaryMessage(data, size)
112 {
113 }
114 };
115
117 struct ONIXS_CBOE_CFE_BOE_API ServerHeartbeat : public BinaryMessage
118 {
119 ServerHeartbeat(const void* data, MessageSize size)
120 : BinaryMessage(data, size)
121 {
122 }
123 };
124
127
129
131
133}
134}
135}
136}
#define ONIXS_CBOE_CFE_BOE_DECLARE_T0_STR_FUNCTIONS(Type)
Definition ABI.h:38
const SubMessage submessage(MessageSize offset, MessageSize size) const
BinaryMessage()
Initializes blank instance referencing to nothing.
Provides efficient way of accessing text-based field values.
Definition String.h:46
Binary2 MessageSize
Aliases message length type.
LoginResponseStatus::Enum status() const
LoginResponse(const void *data, MessageSize size)
LogoutResponseReason::Enum reason() const
LogoutResponse(const void *data, MessageSize size)
ReplayComplete(const void *data, MessageSize size)
ServerHeartbeat(const void *data, MessageSize size)