OnixS C++ CBOE CFE Binary Order Entry (BOE) Handler 1.12.0
API documentation
Loading...
Searching...
No Matches
SessionMessages.Out.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
24#include <vector>
25
26namespace OnixS {
27namespace CboeCFE {
28namespace Trading {
29namespace BOE {
30
32 struct ONIXS_CBOE_CFE_BOE_API LoginRequest : public OutgoingMessage
33 {
34 // Session Id as supplied by CFE
36
37 // Session Sub Id as supplied by CFE
39
40 // The password associated with the SessionIdand SessionSubId.
42
44
45 std::vector<Unit> units;
46
47 MessageType::Enum type() const ONIXS_BATS_BOE_NOEXCEPT ONIXS_BATS_BOE_OVERRIDE { return MessageType::LoginRequest; };
48
49 void validate() const ONIXS_BATS_BOE_OVERRIDE {};
50
51 std::string toString() const ONIXS_BATS_BOE_OVERRIDE;
52
53 void toString(std::string&) const ONIXS_BATS_BOE_OVERRIDE;
54
55 void fillFrom(const LogonSettings& logonSettings);
56
57 size_t serializeTo(unsigned char*) const ONIXS_BATS_BOE_NOEXCEPT ONIXS_BATS_BOE_OVERRIDE;
58 };
59
61 struct ONIXS_CBOE_CFE_BOE_API LogoutRequest : public OutgoingMessage
62 {
63 MessageType::Enum type() const ONIXS_BATS_BOE_NOEXCEPT ONIXS_BATS_BOE_OVERRIDE { return MessageType::LogoutRequest; };
64
65 void validate() const ONIXS_BATS_BOE_OVERRIDE {};
66
67 std::string toString() const ONIXS_BATS_BOE_OVERRIDE;
68
69 void toString(std::string&) const ONIXS_BATS_BOE_OVERRIDE;
70
71 private:
72 size_t serializeTo(unsigned char*) const ONIXS_BATS_BOE_NOEXCEPT ONIXS_BATS_BOE_OVERRIDE { return 0; };
73 };
74
76 struct ONIXS_CBOE_CFE_BOE_API ClientHeartbeat : public OutgoingMessage
77 {
79
80 void validate() const ONIXS_BATS_BOE_OVERRIDE {};
81
82 std::string toString() const ONIXS_BATS_BOE_OVERRIDE;
83
84 void toString(std::string&) const ONIXS_BATS_BOE_OVERRIDE;
85
86 private:
87 size_t serializeTo(unsigned char*) const ONIXS_BATS_BOE_NOEXCEPT ONIXS_BATS_BOE_OVERRIDE { return 0; };
88 };
89
93}
94}
95}
96}
#define ONIXS_BATS_BOE_NOEXCEPT
Definition ABI.h:49
#define ONIXS_CBOE_CFE_BOE_DECLARE_T0_STR_FUNCTIONS(Type)
Definition ABI.h:38
std::string toString() const ONIXS_BATS_BOE_OVERRIDE
Returns the text representation.
MessageType::Enum type() const ONIXS_BATS_BOE_NOEXCEPT ONIXS_BATS_BOE_OVERRIDE
Returns message type.
void validate() const ONIXS_BATS_BOE_OVERRIDE
std::string toString() const ONIXS_BATS_BOE_OVERRIDE
Returns the text representation.
void fillFrom(const LogonSettings &logonSettings)
size_t serializeTo(unsigned char *) const ONIXS_BATS_BOE_NOEXCEPT ONIXS_BATS_BOE_OVERRIDE
ReplayUnspecifiedUnit::Enum replayUnspecifiedUnit
MessageType::Enum type() const ONIXS_BATS_BOE_NOEXCEPT ONIXS_BATS_BOE_OVERRIDE
Returns message type.
void validate() const ONIXS_BATS_BOE_OVERRIDE
std::string toString() const ONIXS_BATS_BOE_OVERRIDE
Returns the text representation.
MessageType::Enum type() const ONIXS_BATS_BOE_NOEXCEPT ONIXS_BATS_BOE_OVERRIDE
Returns message type.
void validate() const ONIXS_BATS_BOE_OVERRIDE
Base class for outgoing messages.