OnixS Eurex ETI Handler C++ library  9.22.0
API documentation
SRQSListener.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"
35 #include "OnixS/Eurex/Trading/Messages/SRQSQuoteSnapshotNotification.h"
36 #include "OnixS/Eurex/Trading/Messages/SRQSResponse.h"
38 
39 namespace OnixS { namespace Eurex { namespace Trading {
40 
41 /// SRQS listener.
43 {
44 public:
45  /// Implement this member to get notifications about SRQSCreateDealNotification message received.
46  virtual void onSRQSCreateDealNotification(const SRQSCreateDealNotification& /*msg*/, const MessageInfo& /*msgInfo*/)
47  {
48  }
49 
50  /// Implement this member to get notifications about SRQSDealNotification message received.
51  virtual void onSRQSDealNotification(const SRQSDealNotification& /*msg*/, const MessageInfo& /*msgInfo*/) {}
52 
53  /// Implement this member to get notifications about SRQSDealResponse message received.
54  virtual void onSRQSDealResponse(const SRQSDealResponse& /*msg*/, const MessageInfo& /*msgInfo*/) {}
55 
56  /// Implement this member to get notifications about SRQSInquireSmartRespondentResponse message received.
59  const MessageInfo& /*msgInfo*/
60  )
61  {
62  }
63 
64  /// Implement this member to get notifications about SRQSNegotiationNotification message received.
65  virtual void
67  {
68  }
69 
70  /// Implement this member to get notifications about SRQSNegotiationRequesterNotification message received.
73  const MessageInfo& /*msgInfo*/
74  )
75  {
76  }
77 
78  /// Implement this member to get notifications about SRQSNegotiationStatusNotification message received.
80  const SRQSNegotiationStatusNotification& /*msg*/,
81  const MessageInfo& /*msgInfo*/
82  )
83  {
84  }
85 
86  /// Implement this member to get notifications about SRQSOpenNegotiationNotification message received.
87  virtual void
89  {
90  }
91 
92  /// Implement this member to get notifications about SRQSOpenNegotiationRequesterNotification message received.
95  const MessageInfo& /*msgInfo*/
96  )
97  {
98  }
99 
100  /// Implement this member to get notifications about SRQSQuoteNotification message received.
101  virtual void onSRQSQuoteNotification(const SRQSQuoteNotification& /*msg*/, const MessageInfo& /*msgInfo*/) {}
102 
103  /// Implement this member to get notifications about SRQSQuoteResponse message received.
104  virtual void onSRQSQuoteResponse(const SRQSQuoteResponse& /*msg*/, const MessageInfo& /*msgInfo*/) {}
105 
106  /// Implement this member to get notifications about SRQSQuoteSnapshotNotification message received.
107  virtual void
108  onSRQSQuoteSnapshotNotification(const SRQSQuoteSnapshotNotification& /*msg*/, const MessageInfo& /*msgInfo*/)
109  {
110  }
111 
112  /// Implement this member to get notifications about SRQSResponse message received.
113  virtual void onSRQSResponse(const SRQSResponse& /*msg*/, const MessageInfo& /*msgInfo*/) {}
114 
115  /// Implement this member to get notifications about SRQSStatusBroadcast message received.
116  virtual void onSRQSStatusBroadcast(const SRQSStatusBroadcast& /*msg*/, const MessageInfo& /*msgInfo*/) {}
117 
118 protected:
119  /// Disables public <b>delete</b> operator in the interface class.
120  virtual ~SRQSListener() {}
121 };
122 
123 }}}
virtual void onSRQSCreateDealNotification(const SRQSCreateDealNotification &, const MessageInfo &)
Implement this member to get notifications about SRQSCreateDealNotification message received...
Definition: SRQSListener.h:46
virtual void onSRQSNegotiationRequesterNotification(const SRQSNegotiationRequesterNotification &, const MessageInfo &)
Implement this member to get notifications about SRQSNegotiationRequesterNotification message receive...
Definition: SRQSListener.h:71
virtual ~SRQSListener()
Disables public delete operator in the interface class.
Definition: SRQSListener.h:120
virtual void onSRQSStatusBroadcast(const SRQSStatusBroadcast &, const MessageInfo &)
Implement this member to get notifications about SRQSStatusBroadcast message received.
Definition: SRQSListener.h:116
virtual void onSRQSNegotiationNotification(const SRQSNegotiationNotification &, const MessageInfo &)
Implement this member to get notifications about SRQSNegotiationNotification message received...
Definition: SRQSListener.h:66
virtual void onSRQSOpenNegotiationNotification(const SRQSOpenNegotiationNotification &, const MessageInfo &)
Implement this member to get notifications about SRQSOpenNegotiationNotification message received...
Definition: SRQSListener.h:88
virtual void onSRQSOpenNegotiationRequesterNotification(const SRQSOpenNegotiationRequesterNotification &, const MessageInfo &)
Implement this member to get notifications about SRQSOpenNegotiationRequesterNotification message rec...
Definition: SRQSListener.h:93
virtual void onSRQSQuoteNotification(const SRQSQuoteNotification &, const MessageInfo &)
Implement this member to get notifications about SRQSQuoteNotification message received.
Definition: SRQSListener.h:101
virtual void onSRQSDealNotification(const SRQSDealNotification &, const MessageInfo &)
Implement this member to get notifications about SRQSDealNotification message received.
Definition: SRQSListener.h:51
virtual void onSRQSNegotiationStatusNotification(const SRQSNegotiationStatusNotification &, const MessageInfo &)
Implement this member to get notifications about SRQSNegotiationStatusNotification message received...
Definition: SRQSListener.h:79
virtual void onSRQSQuoteSnapshotNotification(const SRQSQuoteSnapshotNotification &, const MessageInfo &)
Implement this member to get notifications about SRQSQuoteSnapshotNotification message received...
Definition: SRQSListener.h:108
virtual void onSRQSQuoteResponse(const SRQSQuoteResponse &, const MessageInfo &)
Implement this member to get notifications about SRQSQuoteResponse message received.
Definition: SRQSListener.h:104
SRQS Deal Response Message.
virtual void onSRQSDealResponse(const SRQSDealResponse &, const MessageInfo &)
Implement this member to get notifications about SRQSDealResponse message received.
Definition: SRQSListener.h:54
virtual void onSRQSInquireSmartRespondentResponse(const SRQSInquireSmartRespondentResponse &, const MessageInfo &)
Implement this member to get notifications about SRQSInquireSmartRespondentResponse message received...
Definition: SRQSListener.h:57
virtual void onSRQSResponse(const SRQSResponse &, const MessageInfo &)
Implement this member to get notifications about SRQSResponse message received.
Definition: SRQSListener.h:113