OnixS Eurex ETI Handler C++ library  9.20.0
API documentation
InfoListener.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 
23 #include "OnixS/Eurex/Trading/Export.h"
33 #include "OnixS/Eurex/Trading/Messages/StatusBroadcast.h"
38 
39 namespace OnixS { namespace Eurex { namespace Trading {
40 
41 /// Info listener.
43 {
44 public:
45  /// Implement this member to get notifications about BroadcastErrorNotification message received.
46  virtual void onBroadcastErrorNotification(const BroadcastErrorNotification& /*msg*/, const MessageInfo& /*msgInfo*/)
47  {
48  }
49 
50  /// Implement this member to get notifications about InquireMarginBasedRiskLimitResponse message received.
53  const MessageInfo& /*msgInfo*/
54  )
55  {
56  }
57 
58  /// Implement this member to get notifications about LegalNotificationBroadcast message received.
59  virtual void onLegalNotificationBroadcast(const LegalNotificationBroadcast& /*msg*/, const MessageInfo& /*msgInfo*/)
60  {
61  }
62 
63  /// Implement this member to get notifications about NewsBroadcast message received.
64  virtual void onNewsBroadcast(const NewsBroadcast& /*msg*/, const MessageInfo& /*msgInfo*/) {}
65 
66  /// Implement this member to get notifications about PartyActionReport message received.
67  virtual void onPartyActionReport(const PartyActionReport& /*msg*/, const MessageInfo& /*msgInfo*/) {}
68 
69  /// Implement this member to get notifications about PreTradeRiskLimitResponse message received.
70  virtual void onPreTradeRiskLimitResponse(const PreTradeRiskLimitResponse& /*msg*/, const MessageInfo& /*msgInfo*/)
71  {
72  }
73 
74  /// Implement this member to get notifications about RiskNotificationBroadcast message received.
75  virtual void onRiskNotificationBroadcast(const RiskNotificationBroadcast& /*msg*/, const MessageInfo& /*msgInfo*/)
76  {
77  }
78 
79  /// Implement this member to get notifications about ServiceAvailabilityBroadcast message received.
80  virtual void
82  {
83  }
84 
85  /// Implement this member to get notifications about ServiceAvailabilityMarketBroadcast message received.
88  const MessageInfo& /*msgInfo*/
89  )
90  {
91  }
92 
93  /// Implement this member to get notifications about StatusBroadcast message received.
94  virtual void onStatusBroadcast(const StatusBroadcast& /*msg*/, const MessageInfo& /*msgInfo*/) {}
95 
96  /// Implement this member to get notifications about TMTradingSessionStatusBroadcast message received.
97  virtual void
99  {
100  }
101 
102  /// Implement this member to get notifications about TradeBroadcast message received.
103  virtual void onTradeBroadcast(const TradeBroadcast& /*msg*/, const MessageInfo& /*msgInfo*/) {}
104 
105  /// Implement this member to get notifications about TradingSessionStatusBroadcast message received.
106  virtual void
108  {
109  }
110 
111  /// Implement this member to get notifications about UpdateRemainingRiskAllowanceBaseResponse message received.
114  const MessageInfo& /*msgInfo*/
115  )
116  {
117  }
118 
119 protected:
120  /// Disables public <b>delete</b> operator in the interface class.
121  virtual ~InfoListener() {}
122 };
123 
124 }}} // namespace OnixS::Eurex::Trading
virtual void onPartyActionReport(const PartyActionReport &, const MessageInfo &)
Implement this member to get notifications about PartyActionReport message received.
Definition: InfoListener.h:67
virtual ~InfoListener()
Disables public delete operator in the interface class.
Definition: InfoListener.h:121
virtual void onServiceAvailabilityMarketBroadcast(const ServiceAvailabilityMarketBroadcast &, const MessageInfo &)
Implement this member to get notifications about ServiceAvailabilityMarketBroadcast message received...
Definition: InfoListener.h:86
virtual void onRiskNotificationBroadcast(const RiskNotificationBroadcast &, const MessageInfo &)
Implement this member to get notifications about RiskNotificationBroadcast message received...
Definition: InfoListener.h:75
virtual void onStatusBroadcast(const StatusBroadcast &, const MessageInfo &)
Implement this member to get notifications about StatusBroadcast message received.
Definition: InfoListener.h:94
virtual void onNewsBroadcast(const NewsBroadcast &, const MessageInfo &)
Implement this member to get notifications about NewsBroadcast message received.
Definition: InfoListener.h:64
virtual void onServiceAvailabilityBroadcast(const ServiceAvailabilityBroadcast &, const MessageInfo &)
Implement this member to get notifications about ServiceAvailabilityBroadcast message received...
Definition: InfoListener.h:81
virtual void onTradingSessionStatusBroadcast(const TradingSessionStatusBroadcast &, const MessageInfo &)
Implement this member to get notifications about TradingSessionStatusBroadcast message received...
Definition: InfoListener.h:107
virtual void onInquireMarginBasedRiskLimitResponse(const InquireMarginBasedRiskLimitResponse &, const MessageInfo &)
Implement this member to get notifications about InquireMarginBasedRiskLimitResponse message received...
Definition: InfoListener.h:51
virtual void onTMTradingSessionStatusBroadcast(const TMTradingSessionStatusBroadcast &, const MessageInfo &)
Implement this member to get notifications about TMTradingSessionStatusBroadcast message received...
Definition: InfoListener.h:98
virtual void onUpdateRemainingRiskAllowanceBaseResponse(const UpdateRemainingRiskAllowanceBaseResponse &, const MessageInfo &)
Implement this member to get notifications about UpdateRemainingRiskAllowanceBaseResponse message rec...
Definition: InfoListener.h:112
virtual void onBroadcastErrorNotification(const BroadcastErrorNotification &, const MessageInfo &)
Implement this member to get notifications about BroadcastErrorNotification message received...
Definition: InfoListener.h:46
virtual void onTradeBroadcast(const TradeBroadcast &, const MessageInfo &)
Implement this member to get notifications about TradeBroadcast message received. ...
Definition: InfoListener.h:103
virtual void onLegalNotificationBroadcast(const LegalNotificationBroadcast &, const MessageInfo &)
Implement this member to get notifications about LegalNotificationBroadcast message received...
Definition: InfoListener.h:59
News Broadcast Message.
Definition: NewsBroadcast.h:35
virtual void onPreTradeRiskLimitResponse(const PreTradeRiskLimitResponse &, const MessageInfo &)
Implement this member to get notifications about PreTradeRiskLimitResponse message received...
Definition: InfoListener.h:70