OnixS CBOE CMi2 Trading Handler for C++  1.1.3.0
Public Member Functions | Public Attributes | List of all members
ConnectionRetries Struct Reference

Connection retries settings. More...

Public Member Functions

 ConnectionRetries ()
 Default constructor. More...
 
 ConnectionRetries (int inNumber, unsigned inIntervalSec)
 Constructor. More...
 
std::string toString () const
 Returns the string representation. More...
 

Public Attributes

int number
 Number of attempts to restore the telecommunication link. More...
 
unsigned int intervalSec
 The time interval between attempts to restore the telecommunication link (in seconds). More...
 

Detailed Description

Connection retries settings.

Constructor & Destructor Documentation

ConnectionRetries ( )
inline

Default constructor.

ConnectionRetries ( int  inNumber,
unsigned  inIntervalSec 
)
inline

Constructor.

Member Function Documentation

std::string toString ( ) const

Returns the string representation.

Member Data Documentation

unsigned int intervalSec

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

Note
The default value is 0 (zero).
int number

Number of attempts to restore the telecommunication link.

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