Lightstreamer .Net Standard Client 4.0.0
ContentsIndexHome
PreviousUpNext
ConnectionInfo.RecoveryTimeoutMillis Property

The maximum time in milliseconds allowed for the automatic recovery attempt upon unexpected interruption of a connection. In this case, the recovery attempt is immediate, but if the Server is still unreachable it may involve multiple connection attempts (singularly subject to the ReconnectionTimeoutMillis limit). 

The time limit reflects the fact that the Server only supports the recovery of a session for a configurable time. If a shorter timeout is supplied, some possible case of successful recovery may be abandoned too early and a brand new session will be created. If a longer timeout is supplied and the server-side timeout expires, the recovery attempt will be bound to fail, before causing the creation of a brand new session anyway. 

Currently, the Server does not communicate its own timeout, so the client has the burden of specifying a compatible value. 

The default setting is 5000 (5 seconds). 

 

C++
public: __property long RecoveryTimeoutMillis;
C#
public long RecoveryTimeoutMillis;
Visual Basic
Public Property RecoveryTimeoutMillis() As long