EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ProviderSessionInfo.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) 2020 Refinitiv. All rights reserved. --
6  *|-----------------------------------------------------------------------------
7  */
8 
9 #ifndef __thomsonreuters_ema_access_ProviderSessionInfo_h
10 #define __thomsonreuters_ema_access_ProviderSessionInfo_h
11 
23 
24 namespace thomsonreuters {
25 
26 namespace ema {
27 
28 namespace access {
29 
31 {
32 public:
36  const ChannelInformation& getChannelInformation() const;
37 
41  UInt64 getHandle() const;
42 
46  OmmProvider& getProvider() const;
47 
51  UInt64 getClientHandle() const;
52 
53 private:
54 
55  friend class ErrorClientHandler;
56  friend class OmmJsonConverterExceptionImpl;
57 
59  virtual ~ProviderSessionInfo();
61  ProviderSessionInfo& operator=(const ProviderSessionInfo&);
62 
63  UInt64 _handle;
64  UInt64 _clientHandle;
65  OmmProvider* _provider;
66  ChannelInformation _channelInfo;
67 };
68 
69 }
70 
71 }
72 
73 }
74 
75 #endif // __thomsonreuters_ema_access_ProviderSessionInfo_h
76 
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).
ProviderSessionInfo provides session information for OmmProvider when EMA throws OmmJsonConverterExce...
SessionInfo provides session information when EMA throws OmmJsonConverterException.
Definition: SessionInfo.h:29