OnixS ICE iMpact Multicast Price Feed Handler C++ library  8.16.1
API documentation
TcpSettings Struct Reference

#include <TcpSettings.h>

Public Member Functions

 TcpSettings ()
std::string toString () const

Public Attributes

TcpServersMap tcpServers
unsigned int timeoutInMilliseconds
unsigned int reconnectTimeoutInSeconds
int maximumNumberOfReconnectAttempts

Detailed Description

Definition at line 88 of file TcpSettings.h.

Constructor & Destructor Documentation

Default constructor.

Member Function Documentation

std::string toString ( ) const

Returns string representation.

Member Data Documentation

int maximumNumberOfReconnectAttempts

Maximum number of reconnect attempts.

  • -1 - unlimited
  • 0 - never (default)
  • >0 - the number of attempts

Definition at line 110 of file TcpSettings.h.

unsigned int reconnectTimeoutInSeconds

The time interval between the attempts to restore the telecommunication link (in seconds).

By default, it is 16 seconds.

Definition at line 103 of file TcpSettings.h.

TcpServersMap tcpServers

TCP servers map.

Definition at line 91 of file TcpSettings.h.

unsigned int timeoutInMilliseconds

The time interval to determine if data is not available in TCP stream.

By default, it is 30000 milliseconds.

Definition at line 97 of file TcpSettings.h.

The documentation for this struct was generated from the following file: