OnixS ICE iMpact Multicast Price Feed Handler C++ library 8.18.0
API documentation
Loading...
Searching...
No Matches
ConformanceTools Class Reference

Static Public Member Functions

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="")

Detailed Description

Definition at line 31 of file ConformanceTools.h.

Member Function Documentation

◆ 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
hostThe host to connect to.
portThe port to connect to.
useSslIndicates whether to use SSL.
timeoutInMillisecondsThe timeout in milliseconds.
localNetworkInterfaceThe local network interface to use.
Exceptions
OnixS::ICE::iMpact::MarketData::Exceptionin 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
hostThe host to connect to.
portThe port to connect to.
usernameThe username to use.
passwordThe password to use.
useSslIndicates whether to use SSL.
timeoutInMillisecondsThe timeout in milliseconds.
localNetworkInterfaceThe local network interface to use.
Exceptions
OnixS::ICE::iMpact::MarketData::Exceptionin 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.