EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OmmConsumerEvent.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_OmmConsumerEvent_h
10 #define __thomsonreuters_ema_access_OmmConsumerEvent_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 
39 {
40 public :
41 
43 
44 
50  UInt64 getHandle() const;
51 
56  void* getClosure() const;
57 
65  UInt64 getParentHandle() const;
66 
70  const ChannelInformation& getChannelInformation() const;
71 
76  const ChannelStatistics& getChannelStatistics() const;
78 
79 private :
80 
81  friend class ConsumerItem;
82  friend class LoginItem;
83  friend class DictionaryItem;
84 
85  UInt64 _handle;
86  UInt64 _parentHandle;
87  void* _closure;
88  void* _channel;
89  ChannelInformation _channelInfo;
90  ChannelStatistics _channelStats;
91 
93  virtual ~OmmConsumerEvent();
95  OmmConsumerEvent& operator=( const OmmConsumerEvent& );
96 };
97 
98 }
99 
100 }
101 
102 }
103 
104 #endif // __thomsonreuters_ema_access_OmmConsumerEvent_h
unsigned long long UInt64
represents 64-bit unsigned integer
Definition: Common.h:68
#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.
OmmConsumerEvent encapsulates item identifiers.
ChannelStats provides statistical information on application channel(s).