OnixS Eurex ETI Handler C++ library  9.22.0
API documentation
TESReversalBroadcast.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"
29 
30 #include <iosfwd>
31 #include <string>
32 #include <vector>
33 
34 namespace OnixS { namespace Eurex { namespace Trading {
35 
36 /// TES Reversal Broadcast Message.
37 class ONIXS_EUREX_ETI_EXPORT TESReversalBroadcast : public Message
38 {
39 public:
40  /// Initialize default instance.
42 
43  /// Message sequence number assigned to a non-order related Eurex ETI data stream.
45 
46  /// Unique ID assigned by the Eurex system during broadcast subscription in order to link broadcasts to the related
47  /// subscription.
49 
50  /// Is required to define the scope of a Retransmission Request.
52 
53  /// Indicates a retransmission message.
55 
56  /// Identifier for subscription and retransmission of an ETI data stream.
58 
59  /// Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one dedicated
60  /// transaction.
62 
63  /// Reversal initiation time.
65 
66  /// The product identifier uniquely identifies a Eurex product.
68 
69  /// Identifier for a Trade Entry Service trade, i.e TES trade ID.
71 
72  /// System transaction identifier for a Trade Entry Service transaction.
74 
75  /// Identifies a related product.
77 
78  /// Indicates if a trade should be reported via the market reporting service.
80 
81  /// SRQS deal status.
83 
84  /// Reversal cancellation reason.
86 
87  /// User defined transaction ID. Part of the TES response and TES broadcast.
88  std::string tradeReportId;
89 
90  /// Reversal reason text.
91  std::string reversalReasonText;
92 
93  /// Side Alloc Group BC.
94  std::vector<SideAllocGrpBCElem> sideAllocGrpBC;
95 
96  /// Returns template ID.
97  TemplateId::Enum templateId() const;
98 
99  /// Returns string representation.
100  std::string toString() const;
101 
102 private:
103  friend class Serializer;
104  TESReversalBroadcast(const void* data, size_t dataSize, MessageInfo& msgInfo);
105  void nativeSerializeTo(void* nativeMessage);
106 };
107 
108 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const TESReversalBroadcast&);
109 
110 }}}
Enum
Indicates a retransmission message.
Definition: Enumerations.h:76
UInt16 partitionId
Is required to define the scope of a Retransmission Request.
std::string reversalReasonText
Reversal reason text.
UInt64 reversalInitiationTime
Reversal initiation time.
ReversalCancellationReason::Enum reversalCancellationReason
Reversal cancellation reason.
unsigned long long UInt64
Definition: Defines.h:46
Enum
Indicates if a trade should be reported via the market reporting service.
signed int SInt32
Definition: Defines.h:41
TrdRptStatus::Enum trdRptStatus
SRQS deal status.
std::vector< SideAllocGrpBCElem > sideAllocGrpBC
Side Alloc Group BC.
Message base class.
Definition: Message.h:32
ApplResendFlag::Enum applResendFlag
Indicates a retransmission message.
UInt32 packageId
Identifier for a Trade Entry Service trade, i.e TES trade ID.
unsigned int UInt32
Definition: Defines.h:45
std::ostream & operator<<(std::ostream &, ConnectionState::Enum)
Make it printable using C++ I/O streams.
SInt32 relatedMarketSegmentId
Identifies a related product.
std::string tradeReportId
User defined transaction ID. Part of the TES response and TES broadcast.
Enum
Identifier for subscription and retransmission of an ETI data stream.
Definition: Enumerations.h:33
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
UInt32 tesExecId
System transaction identifier for a Trade Entry Service transaction.
TrdType::Enum trdType
Indicates if a trade should be reported via the market reporting service.
UInt64 applSeqNum
Message sequence number assigned to a non-order related Eurex ETI data stream.
ApplId::Enum applId
Identifier for subscription and retransmission of an ETI data stream.
unsigned short UInt16
Definition: Defines.h:44