EMA C++ Edition
ServiceEndpointDiscoveryClient.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 LSEG. All rights reserved. --
6 *|-----------------------------------------------------------------------------
7 */
8
9#ifndef __refinitiv_ema_access_ServiceDiscoveryClient_h
10#define __refinitiv_ema_access_ServiceDiscoveryClient_h
11
50
51namespace refinitiv {
52
53namespace ema {
54
55namespace access {
56
57class ServiceEndpointDiscoveryResp;
58class ServiceEndpointDiscoveryEvent;
59
61{
62
63public:
64
66
67
72 virtual void onSuccess(const ServiceEndpointDiscoveryResp& serviceEndpointResp, const ServiceEndpointDiscoveryEvent& event);
73
79 virtual void onError(const EmaString& errorText, const ServiceEndpointDiscoveryEvent& event);
81
82protected:
85
86private:
87
90};
91
92}
93
94}
95
96}
97
98#endif // __refinitiv_ema_access_ServiceDiscoveryClient_h
#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
ServiceEndpointDiscoveryClient class provides callback interfaces to pass received responses.
virtual void onError(const EmaString &errorText, const ServiceEndpointDiscoveryEvent &event)
virtual void onSuccess(const ServiceEndpointDiscoveryResp &serviceEndpointResp, const ServiceEndpointDiscoveryEvent &event)
ServiceEndpointDiscoveryEvent encapsulates query identifiers.
ServiceEndpointDiscoveryResp represents a response from RDP service discovery which contains a list o...