EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ServiceEndpointDiscoveryInfo.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_ServiceEndpointDiscoveryInfo_h
10 #define __thomsonreuters_ema_access_ServiceEndpointDiscoveryInfo_h
11 
23 
24 namespace thomsonreuters {
25 
26 namespace ema {
27 
28 namespace access {
29 
31 {
32 public:
33 
37  const EmaVector<EmaString>& getDataFormatList() const;
38 
42  const EmaString& getEndPoint() const;
43 
47  const EmaVector<EmaString>& getLocationList() const;
48 
52  const EmaString& getPort() const;
53 
57  const EmaString& getProvider() const;
58 
62  const EmaString& getTransport() const;
63 
70 
75  const EmaString& toString() const;
76 
80  operator const char* () const;
81 
82 private:
85 
86  const EmaString& toString(UInt64 indent) const;
87 
88  template<class T>
89  friend class EmaVector;
90  friend class ServiceEndpointDiscoveryImpl;
92 
93  EmaVector<EmaString>* _pDataFormatList;
94  EmaString _endPoint;
95  EmaVector<EmaString>* _pLocationList;
96  EmaString _port;
97  EmaString _provider;
98  EmaString _transport;
99  mutable EmaString _toString;
100 };
101 
102 }
103 
104 }
105 
106 }
107 #endif // #ifndef __thomsonreuters_ema_access_ServiceEndpointDiscoveryInfo_h
ServiceEndpointDiscoveryResp represents a response from EDP-RT service discovery which contains a lis...
ServiceEndpointDiscoveryInfo represents an service endpoint information from EDP-RT service discovery...
unsigned long long UInt64
represents 64-bit unsigned integer
Definition: Common.h:68
EmaVector class provides template vector implementation.
Definition: EmaVector.h:29
EmaString class is a container of a null terminated Ascii character string.
Definition: EmaString.h:56
#define EMA_ACCESS_API
Definition: Common.h:95