EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OmmProviderClient.h
Go to the documentation of this file.
1 /*|-----------------------------------------------------------------------------
2  *| This source code is provided under the Apache 2.0 license --
3  *| and is provided AS IS with no warranty or guarantee of fit for purpose. --
4  *| See the project's LICENSE.md for details. --
5  *| Copyright (C) 2019 Refinitiv. All rights reserved. --
6  *|-----------------------------------------------------------------------------
7  */
8 
9 #ifndef __thomsonreuters_ema_access_ommProviderClient_h
10 #define __thomsonreuters_ema_access_ommProviderClient_h
11 
59 #include "Access/Include/Common.h"
60 
61 namespace thomsonreuters {
62 
63 namespace ema {
64 
65 namespace access {
66 
67 class OmmProviderEvent;
68 class Msg;
69 class RefreshMsg;
70 class StatusMsg;
71 class GenericMsg;
72 class PostMsg;
73 class ReqMsg;
74 
76 {
77 public :
78 
80 
81 
87  virtual void onRefreshMsg( const RefreshMsg& refreshMsg, const OmmProviderEvent& event );
88 
94  virtual void onStatusMsg( const StatusMsg& statusMsg, const OmmProviderEvent& event );
95 
102  virtual void onGenericMsg( const GenericMsg& genericMsg, const OmmProviderEvent& event );
103 
110  virtual void onAllMsg( const Msg& msg, const OmmProviderEvent& event );
111 
112  // IProv
113 
120  virtual void onPostMsg( const PostMsg& postMsg, const OmmProviderEvent& event );
121 
128  virtual void onReqMsg( const ReqMsg& reqMsg, const OmmProviderEvent& event );
129 
136  virtual void onReissue( const ReqMsg& reqMsg, const OmmProviderEvent& event );
137 
143  virtual void onClose(const ReqMsg& reqMsg, const OmmProviderEvent& event );
145 
146 protected :
147 
149  virtual ~OmmProviderClient();
150 
151 private :
152 
154  OmmProviderClient& operator=( const OmmProviderClient& );
155 };
156 
157 }
158 
159 }
160 
161 }
162 
163 #endif //__thomsonreuters_ema_access_ommProviderClient_h
OmmProviderEvent encapsulates item identifiers.
Msg class is a parent class for all message representing classes.
Definition: Msg.h:45
ReqMsg allows consumer application to express its interest in an item.
Definition: ReqMsg.h:58
#define EMA_ACCESS_API
Definition: Common.h:95
StatusMsg conveys item state information.
Definition: StatusMsg.h:79
RefreshMsg conveys item image, state, permission and group information.
Definition: RefreshMsg.h:78
GenericMsg allows applications to bidirectionally send messages without any implied message semantics...
Definition: GenericMsg.h:86
Common.h file provides definitions of common variable types used in EMA.
OmmProviderClient class provides callback interfaces to pass received messages.
PostMsg allows consumer applications to contribute content.
Definition: PostMsg.h:61