EMA C++ Edition
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 LSEG. All rights reserved. --
6 *|-----------------------------------------------------------------------------
7 */
8
9#ifndef __refinitiv_ema_access_ommProviderClient_h
10#define __refinitiv_ema_access_ommProviderClient_h
11
60
61namespace refinitiv {
62
63namespace ema {
64
65namespace access {
66
67class OmmProviderEvent;
68class Msg;
69class RefreshMsg;
70class StatusMsg;
71class GenericMsg;
72class PostMsg;
73class ReqMsg;
74
76{
77public :
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
146protected :
147
150
151private :
152
154 OmmProviderClient& operator=( const OmmProviderClient& );
155};
156
157}
158
159}
160
161}
162
163#endif //__refinitiv_ema_access_ommProviderClient_h
Common.h file provides definitions of common variable types used in EMA.
#define EMA_ACCESS_API
Definition: Common.h:95
*|--------------------------------------------------------------------------—
Definition: AckMsg.h:62
The access namespace contains all interfaces and definitions specified for use with the EMA Access pa...
The ema namespace contains all interfaces and definitions specified for use with EMA.
GenericMsg allows applications to bidirectionally send messages without any implied message semantics...
Definition: GenericMsg.h:88
Msg class is a parent class for all message representing classes.
Definition: Msg.h:46
OmmProviderClient class provides callback interfaces to pass received messages.
virtual void onRefreshMsg(const RefreshMsg &refreshMsg, const OmmProviderEvent &event)
virtual void onStatusMsg(const StatusMsg &statusMsg, const OmmProviderEvent &event)
virtual void onGenericMsg(const GenericMsg &genericMsg, const OmmProviderEvent &event)
virtual void onClose(const ReqMsg &reqMsg, const OmmProviderEvent &event)
virtual void onPostMsg(const PostMsg &postMsg, const OmmProviderEvent &event)
virtual void onReqMsg(const ReqMsg &reqMsg, const OmmProviderEvent &event)
virtual void onReissue(const ReqMsg &reqMsg, const OmmProviderEvent &event)
virtual void onAllMsg(const Msg &msg, const OmmProviderEvent &event)
OmmProviderEvent encapsulates item identifiers.
PostMsg allows consumer applications to contribute content.
Definition: PostMsg.h:63
RefreshMsg conveys item image, state, permission and group information.
Definition: RefreshMsg.h:80
ReqMsg allows consumer application to express its interest in an item.
Definition: ReqMsg.h:60
StatusMsg conveys item state information.
Definition: StatusMsg.h:81