OnixS Eurex ETI Handler C++ library  9.19.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 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 
20 #pragma once
21 
22 #include "OnixS/Eurex/Trading/Export.h"
28 
29 #include <iosfwd>
30 #include <string>
31 #include <vector>
32 
33 namespace OnixS {
34 namespace Eurex {
35 namespace Trading {
36 
37 /// TES Reversal Broadcast Message.
38 class ONIXS_EUREX_ETI_EXPORT TESReversalBroadcast : public Message
39 {
40 public:
41  /// Initialize default instance.
43 
44  /// Message sequence number assigned to a non-order related Eurex ETI data stream.
46 
47  /// Unique ID assigned by the Eurex system during broadcast subscription in order to link broadcasts to the related 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 transaction.
61 
62  /// Reversal initiation time.
64 
65  /// The product identifier uniquely identifies a Eurex product.
67 
68  /// Identifier for a Trade Entry Service trade, i.e TES trade ID.
70 
71  /// System transaction identifier for a Trade Entry Service transaction.
73 
74  /// Identifies a related product.
76 
77  /// Indicates if a trade should be reported via the market reporting service.
79 
80  /// SRQS deal status.
82 
83  /// Reversal cancellation reason.
85 
86  /// User defined transaction ID. Part of the TES response and TES broadcast.
87  std::string tradeReportId;
88 
89  /// Reversal reason text.
90  std::string reversalReasonText;
91 
92  /// Side Alloc Group B C.
93  std::vector<SideAllocGrpBCElem> sideAllocGrpBC;
94 
95  /// Returns template ID.
96  TemplateId::Enum templateId () const;
97 
98  /// Returns string representation.
99  std::string toString () const;
100 
101 private:
102  friend class Serializer;
103  TESReversalBroadcast (const void* data, size_t dataSize, MessageInfo& msgInfo);
104  void nativeSerializeTo (void* nativeMessage);
105 };
106 
107 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const TESReversalBroadcast&);
108 
109 }
110 }
111 }
Enum
Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one...
Definition: Enumerations.h:661
Enum
Indicates a retransmission message.
Definition: Enumerations.h:71
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:47
Enum
Indicates if a trade should be reported via the market reporting service.
LastFragment::Enum lastFragment
Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one...
signed int SInt32
Definition: Defines.h:42
TrdRptStatus::Enum trdRptStatus
SRQS deal status.
std::vector< SideAllocGrpBCElem > sideAllocGrpBC
Side Alloc Group B C.
Message base class.
Definition: Message.h:33
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:46
SInt32 relatedMarketSegmentId
Identifies a related product.
std::string tradeReportId
User defined transaction ID. Part of the TES response and TES broadcast.
UInt32 applSubId
Unique ID assigned by the Eurex system during broadcast subscription in order to link broadcasts to t...
Enum
Identifier for subscription and retransmission of an ETI data stream.
Definition: Enumerations.h:34
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
UInt32 tesExecId
System transaction identifier for a Trade Entry Service transaction.
std::ostream & operator<<(std::ostream &, const ConnectionStateChange &)
Make it printable to formatted C++ I/O streams.
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:45