EMA C++ Edition
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-2022 LSEG. All rights reserved. --
6 *|-----------------------------------------------------------------------------
7 */
8
9#ifndef __refinitiv_ema_access_ServiceEndpointDiscovery_h
10#define __refinitiv_ema_access_ServiceEndpointDiscovery_h
11
47
48namespace refinitiv {
49
50namespace ema {
51
52namespace access {
53
54class ServiceEndpointDiscoveryOption;
55class ServiceEndpointDiscoveryClient;
56class ServiceEndpointDiscoveryImpl;
57class ServiceEndpointDiscoveryConfig;
58
60{
61public:
62
64
65
70
72
73
77 ServiceEndpointDiscovery(const ServiceEndpointDiscoveryConfig& serviceEndpointDiscoveryConfig);
79
81
82
86 ServiceEndpointDiscovery(const EmaString& tokenServiceURLV1);
88
90
91
96 ServiceEndpointDiscovery(const EmaString& tokenServiceURLV1, const EmaString& serviceDiscoveryURL);
98
100
101
107 ServiceEndpointDiscovery(const EmaString& tokenServiceURLV1, const EmaString& tokenServiceURLV2, const EmaString& serviceDiscoveryURL);
108
110
111
115
117
118
128 void registerClient(const ServiceEndpointDiscoveryOption& params, ServiceEndpointDiscoveryClient& client, void *closure = 0);
130
131private:
132 ServiceEndpointDiscoveryImpl* _pImpl;
133};
134
135}
136
137}
138
139}
140
141#endif // __refinitiv_ema_access_ServiceEndpointDiscovery_h
142
#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.
EmaString class is a container of a null terminated Ascii character string.
Definition: EmaString.h:57
ServiceEndpointDiscovery class provides the functionality to query endpoints from RDP service discove...
ServiceEndpointDiscovery(const EmaString &tokenServiceURLV1, const EmaString &serviceDiscoveryURL)
ServiceEndpointDiscovery(const EmaString &tokenServiceURLV1, const EmaString &tokenServiceURLV2, const EmaString &serviceDiscoveryURL)
ServiceEndpointDiscovery(const EmaString &tokenServiceURLV1)
ServiceEndpointDiscovery(const ServiceEndpointDiscoveryConfig &serviceEndpointDiscoveryConfig)
void registerClient(const ServiceEndpointDiscoveryOption &params, ServiceEndpointDiscoveryClient &client, void *closure=0)
ServiceEndpointDiscoveryClient class provides callback interfaces to pass received responses.
ServiceEndpointDiscoveryOption is used to specify query options for ServiceEndpointDiscovery::registe...