EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OmmProviderEvent.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_ommProviderEvent_h
10 #define __thomsonreuters_ema_access_ommProviderEvent_h
11 
26 #include "Access/Include/Common.h"
29 
30 namespace thomsonreuters {
31 
32 namespace ema {
33 
34 namespace access {
35 
36 class Item;
37 class OmmProvider;
38 class LoginHandler;
39 class EmaString;
40 
42 {
43 public :
44 
46 
47 
51  UInt64 getHandle() const;
52 
57  void* getClosure() const;
58 
62  OmmProvider& getProvider() const;
63 
67  UInt64 getClientHandle() const;
68 
72  const ChannelInformation& getChannelInformation() const;
73 
78  const ChannelStatistics& getChannelStatistics() const;
79 private :
80 
81  friend class ProviderItem;
82  friend class NiProviderLoginItem;
83  friend class NiProviderSingleItem;
84  friend class LoginHandler;
85  friend class DictionaryHandler;
86  friend class DirectoryHandler;
87  friend class MarketItemHandler;
88  friend class OmmServerBaseImpl;
89 
90  UInt64 _handle;
91  UInt64 _clientHandle;
92  void* _closure;
93  void* _channel;
94  OmmProvider* _provider;
95  ChannelInformation _channelInfo;
96  ChannelStatistics _channelStats;
97 
99  virtual ~OmmProviderEvent();
101  OmmProviderEvent& operator=( const OmmProviderEvent& );
102 };
103 
104 }
105 
106 }
107 
108 }
109 
110 #endif // __thomsonreuters_ema_access_ommProviderEvent_h
OmmProviderEvent encapsulates item identifiers.
unsigned long long UInt64
represents 64-bit unsigned integer
Definition: Common.h:68
OmmProvider class encapsulates functionality of an Interactive and NonInteractive OmmProvider applica...
Definition: OmmProvider.h:161
#define EMA_ACCESS_API
Definition: Common.h:95
ChannelInfo provides information on application channel(s).
Common.h file provides definitions of common variable types used in EMA.
ChannelStats provides statistical information on application channel(s).