EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 Refinitiv. All rights reserved. --
6  *|-----------------------------------------------------------------------------
7  */
8 
9 #ifndef __thomsonreuters_ema_access_ServiceDiscoveryClient_h
10 #define __thomsonreuters_ema_access_ServiceDiscoveryClient_h
11 
50 
51 namespace thomsonreuters {
52 
53 namespace ema {
54 
55 namespace access {
56 
57 class ServiceEndpointDiscoveryResp;
58 class ServiceEndpointDiscoveryEvent;
59 
61 {
62 
63 public:
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 
82 protected:
85 
86 private:
87 
90 };
91 
92 }
93 
94 }
95 
96 }
97 
98 #endif // __thomsonreuters_ema_access_ServiceDiscoveryClient_h
ServiceEndpointDiscoveryResp represents a response from EDP-RT service discovery which contains a lis...
EmaString class is a container of a null terminated Ascii character string.
Definition: EmaString.h:56
#define EMA_ACCESS_API
Definition: Common.h:95
ServiceEndpointDiscoveryEvent encapsulates query identifiers.
ServiceEndpointDiscoveryClient class provides callback interfaces to pass received responses...