16#ifndef INCLUDED_Lightstreamer_ConnectionDetails
17#define INCLUDED_Lightstreamer_ConnectionDetails
19#include "../Lightstreamer.h"
21namespace Lightstreamer {
34 HaxeObject _delegate =
nullptr;
36 void initDelegate(HaxeObject client) {
37 _delegate = LightstreamerClient_getConnectionDetails(client);
48 Lightstreamer_releaseHaxeObject(_delegate);
60 return ConnectionDetails_getAdapterSet(_delegate);
83 ConnectionDetails_setAdapterSet(_delegate, &adapterSet);
91 return ConnectionDetails_getServerAddress(_delegate);
124 ConnectionDetails_setServerAddress(_delegate, &serverAddress);
134 return ConnectionDetails_getUser(_delegate);
156 ConnectionDetails_setUser(_delegate, &user);
183 return ConnectionDetails_getServerInstanceAddress(_delegate);
208 return ConnectionDetails_getServerSocketName(_delegate);
229 return ConnectionDetails_getClientIp(_delegate);
244 return ConnectionDetails_getSessionId(_delegate);
271 ConnectionDetails_setPassword(_delegate, &password);
Used by LightstreamerClient to provide a basic connection properties data object.
Definition ConnectionDetails.h:33
std::string getUser()
Inquiry method that gets the username to be used for the authentication on Lightstreamer Server when ...
Definition ConnectionDetails.h:133
void setAdapterSet(const std::string &adapterSet)
Setter method that sets the name of the Adapter Set mounted on Lightstreamer Server to be used to han...
Definition ConnectionDetails.h:82
void setPassword(const std::string &password)
Setter method that sets the password to be used for the authentication on Lightstreamer Server when i...
Definition ConnectionDetails.h:270
std::string getServerSocketName()
Inquiry method that gets the instance name of the Server which is serving the current session.
Definition ConnectionDetails.h:207
std::string getSessionId()
Inquiry method that gets the ID associated by the server to this client session.
Definition ConnectionDetails.h:243
std::string getServerInstanceAddress()
Inquiry method that gets the server address to be used to issue all requests related to the current s...
Definition ConnectionDetails.h:182
void setUser(const std::string &user)
Setter method that sets the username to be used for the authentication on Lightstreamer Server when i...
Definition ConnectionDetails.h:155
std::string getAdapterSet()
Inquiry method that gets the name of the Adapter Set (which defines the Metadata Adapter and one or s...
Definition ConnectionDetails.h:59
void setServerAddress(const std::string &serverAddress)
Setter method that sets the address of Lightstreamer Server.
Definition ConnectionDetails.h:123
std::string getServerAddress()
Inquiry method that gets the configured address of Lightstreamer Server.
Definition ConnectionDetails.h:90
std::string getClientIp()
Inquiry method that gets the IP address of this client as seen by the Server which is serving the cur...
Definition ConnectionDetails.h:228
Facade class for the management of the communication to Lightstreamer Server.
Definition LightstreamerClient.h:49