EMA C++ Edition
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 LSEG. All rights reserved. --
6 *|-----------------------------------------------------------------------------
7 */
8
9#ifndef __refinitiv_ema_access_ServiceEndpointDiscoveryInfo_h
10#define __refinitiv_ema_access_ServiceEndpointDiscoveryInfo_h
11
23
24namespace refinitiv {
25
26namespace ema {
27
28namespace access {
29
31{
32public:
33
38
42 const EmaString& getEndPoint() const;
43
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
82private:
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 __refinitiv_ema_access_ServiceEndpointDiscoveryInfo_h
#define EMA_ACCESS_API
Definition: Common.h:95
*|--------------------------------------------------------------------------—
Definition: AckMsg.h:62
unsigned long long UInt64
represents 64-bit unsigned integer
Definition: Common.h:68
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
EmaVector class provides template vector implementation.
Definition: EmaVector.h:30
ServiceEndpointDiscoveryInfo represents an service endpoint information from RDP service discovery.
const EmaVector< EmaString > & getDataFormatList() const
ServiceEndpointDiscoveryInfo & operator=(const ServiceEndpointDiscoveryInfo &other)
const EmaVector< EmaString > & getLocationList() const
ServiceEndpointDiscoveryResp represents a response from RDP service discovery which contains a list o...