OnixS Eurex ETI Handler C++ library  9.20.0
API documentation
BasketExecutionBroadcast.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
13  * part of this source code or associated reference material to any other location for further
14  * reproduction or redistribution, and any amendments to this copyright notice, are expressly
15  * prohibited.
16  *
17  * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
18  * the terms of the Agreement is a violation of copyright law.
19  */
20 
21 #pragma once
22 
25 #include "OnixS/Eurex/Trading/Export.h"
28 
29 #include <iosfwd>
30 #include <string>
31 #include <vector>
32 
33 namespace OnixS { namespace Eurex { namespace Trading {
34 
35 /// Basket Exec Group Element.
36 class ONIXS_EUREX_ETI_EXPORT BasketExecGrpElem
37 {
38 public:
39  /// Initialize default instance.
41 
42  /// Identifier for a Trade Entry Service trade, i.e TES trade ID.
44 
45  /// Product ID.
47 
48  /// Unique identifier for a TES Trade side.
50 
51  /// Sub-type of a trade type.
53 
54  /// Returns string representation.
55  std::string toString() const;
56 
57 private:
58  friend class Serializer;
59  BasketExecGrpElem(const void* data);
60 };
61 
62 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const BasketExecGrpElem&);
63 
64 /// Basket Execution Broadcast Message.
65 class ONIXS_EUREX_ETI_EXPORT BasketExecutionBroadcast : public Message
66 {
67 public:
68  /// Initialize default instance.
70 
71  /// Message sequence number assigned to a non-order related Eurex ETI data stream.
73 
74  /// Unique ID assigned by the Eurex system during broadcast subscription in order to link broadcasts to the related
75  /// subscription.
77 
78  /// Is required to define the scope of a Retransmission Request.
80 
81  /// Indicates a retransmission message.
83 
84  /// Identifier for subscription and retransmission of an ETI data stream.
86 
87  /// Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one dedicated
88  /// transaction.
90 
91  /// System defined Basket ID.
93 
94  /// Timestamp of the match event (trade).
96 
97  /// System generated transaction ID for a Basket transaction.
99 
100  /// The product identifier uniquely identifies a Eurex product.
102 
103  /// ID of the Basket profile.
105 
106  /// Indicates if a trade should be reported via the market reporting service.
108 
109  /// Identifies the type of trade notification.
111 
112  /// Receiver of a message.
114 
115  /// User defined Basket trade ID.
117 
118  /// Basket Exec Group.
119  std::vector<BasketExecGrpElem> basketExecGrp;
120 
121  /// Returns template ID.
122  TemplateId::Enum templateId() const;
123 
124  /// Returns string representation.
125  std::string toString() const;
126 
127 private:
128  friend class Serializer;
129  BasketExecutionBroadcast(const void* data, size_t dataSize, MessageInfo& msgInfo);
130  void nativeSerializeTo(void* nativeMessage);
131 };
132 
133 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const BasketExecutionBroadcast&);
134 
135 }}} // namespace OnixS::Eurex::Trading
TrdType::Enum trdType
Indicates if a trade should be reported via the market reporting service.
UInt32 allocId
Unique identifier for a TES Trade side.
Enum
Indicates a retransmission message.
Definition: Enumerations.h:70
std::vector< BasketExecGrpElem > basketExecGrp
Basket Exec Group.
UInt32 basketExecId
System generated transaction ID for a Basket transaction.
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
std::string basketSideTradeReportId
User defined Basket trade ID.
unsigned long long UInt64
Definition: Defines.h:46
Enum
Indicates if a trade should be reported via the market reporting service.
UInt16 partitionId
Is required to define the scope of a Retransmission Request.
TradeReportType::Enum tradeReportType
Identifies the type of trade notification.
signed int SInt32
Definition: Defines.h:41
MessageEventSource::Enum messageEventSource
Receiver of a message.
Message base class.
Definition: Message.h:32
UInt32 packageId
Identifier for a Trade Entry Service trade, i.e TES trade ID.
UInt64 applSeqNum
Message sequence number assigned to a non-order related Eurex ETI data stream.
unsigned int UInt32
Definition: Defines.h:45
UInt64 transactTime
Timestamp of the match event (trade).
Enum
Identifier for subscription and retransmission of an ETI data stream.
Definition: Enumerations.h:33
ApplResendFlag::Enum applResendFlag
Indicates a retransmission message.
Enum
Sub-type of a trade type.
ApplId::Enum applId
Identifier for subscription and retransmission of an ETI data stream.
std::ostream & operator<<(std::ostream &, const ConnectionStateChange &)
Make it printable to formatted C++ I/O streams.
Enum
Identifies the type of trade notification.
SideTrdSubTyp::Enum sideTrdSubTyp
Sub-type of a trade type.
unsigned short UInt16
Definition: Defines.h:44