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