|
static DebugResponse | fetchDebugResponse (const std::string &host, int port, bool useSsl=true, unsigned int timeoutInMilliseconds=30000, const std::string &localNetworkInterface="") |
static MulticastChannelGroups | fetchMulticastChannelGroups (const std::string &host, int port, const std::string &username, const std::string &password, bool useSsl=true, unsigned int timeoutInMilliseconds=30000, const std::string &localNetworkInterface="") |
Definition at line 31 of file ConformanceTools.h.
◆ fetchDebugResponse()
DebugResponse fetchDebugResponse |
( |
const std::string & | host, |
|
|
int | port, |
|
|
bool | useSsl = true, |
|
|
unsigned int | timeoutInMilliseconds = 30000, |
|
|
const std::string & | localNetworkInterface = "" ) |
|
static |
Opens connection to ICE server and synchronously sends a Debug Request and returns the Debug Response.
- Parameters
-
host | The host to connect to. |
port | The port to connect to. |
useSsl | Indicates whether to use SSL. |
timeoutInMilliseconds | The timeout in milliseconds. |
localNetworkInterface | The local network interface to use. |
- Exceptions
-
OnixS::ICE::iMpact::MarketData::Exception | in case of an error:
- if the connection to the server cannot be established;
- if the request cannot be sent;
- if the response cannot be received.
|
- Returns
- The Debug Response message structure.
◆ fetchMulticastChannelGroups()
MulticastChannelGroups fetchMulticastChannelGroups |
( |
const std::string & | host, |
|
|
int | port, |
|
|
const std::string & | username, |
|
|
const std::string & | password, |
|
|
bool | useSsl = true, |
|
|
unsigned int | timeoutInMilliseconds = 30000, |
|
|
const std::string & | localNetworkInterface = "" ) |
|
static |
Opens connection to ICE server to fetch Multicast Channel Groups Message.
- Parameters
-
host | The host to connect to. |
port | The port to connect to. |
username | The username to use. |
password | The password to use. |
useSsl | Indicates whether to use SSL. |
timeoutInMilliseconds | The timeout in milliseconds. |
localNetworkInterface | The local network interface to use. |
- Exceptions
-
OnixS::ICE::iMpact::MarketData::Exception | in case of an error:
- if the connection to the server cannot be established;
- if the request cannot be sent;
- if the response cannot be received.
|
- Returns
- The Multicast Channel Groups message structure.