Defines TCP connectivity options. More...
Public Member Functions | |
| TcpSettings () | |
| Default constructor. | |
| std::string | toString () const |
| Returns string representation. | |
Public Attributes | |
| TcpServersMap | tcpServers |
| TCP servers map. | |
| unsigned int | reconnectTimeoutInSeconds |
| The time interval between the attempts to restore the telecommunication link (in seconds). More... | |
| int | maximumNumberOfReconnectAttempts |
| Maximum number of reconnect attempts. More... | |
Defines TCP connectivity options.
| int maximumNumberOfReconnectAttempts |
Maximum number of reconnect attempts.
-1 - unlimited 0 - never (default) >0 - the number of attempts | unsigned int reconnectTimeoutInSeconds |
The time interval between the attempts to restore the telecommunication link (in seconds).
By default, it is 16 seconds.