EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ServiceEndpointDiscovery.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-2020 Refinitiv. All rights reserved. --
6  *|-----------------------------------------------------------------------------
7  */
8 
9 #ifndef __thomsonreuters_ema_access_ServiceEndpointDiscovery_h
10 #define __thomsonreuters_ema_access_ServiceEndpointDiscovery_h
11 
47 
48 namespace thomsonreuters {
49 
50 namespace ema {
51 
52 namespace access {
53 
54 class ServiceEndpointDiscoveryOption;
55 class ServiceEndpointDiscoveryClient;
56 class ServiceEndpointDiscoveryImpl;
57 
59 {
60 public:
61 
63 
64 
69  ServiceEndpointDiscovery(const EmaString& tokenServiceURL = "https://api.refinitiv.com/auth/oauth2/v1/token",
70  const EmaString& serviceDiscoveryURL = "https://api.refinitiv.com/streaming/pricing/v1/");
72 
74 
75 
79 
81 
82 
92  void registerClient(const ServiceEndpointDiscoveryOption& params, ServiceEndpointDiscoveryClient& client, void *closure = 0);
94 
95 private:
96  ServiceEndpointDiscoveryImpl* _pImpl;
97 };
98 
99 }
100 
101 }
102 
103 }
104 
105 #endif // __thomsonreuters_ema_access_ServiceEndpointDiscovery_h
106 
ServiceEndpointDiscovery class provides the functionality to query endpoints from EDP-RT service disc...
EmaString class is a container of a null terminated Ascii character string.
Definition: EmaString.h:56
#define EMA_ACCESS_API
Definition: Common.h:95
ServiceEndpointDiscoveryClient class provides callback interfaces to pass received responses...
ServiceEndpointDiscoveryOption is used to specify query options for ServiceEndpointDiscovery::registe...