Lightstreamer Unity Client 2.1.3
ContentsIndexHome
PreviousUpNext
IConnectionListener.OnActivityWarning Method

Notification that the connection is stalled (i.e. nothing has been received on the connection for more than the "probeWarningMillis" timeout configured on the ConnectionInfo) or that the connection is working again after being notified as stalled.  

If the connection is notified as stalled and nothing is received for more than the "probeTimeoutMillis" timeout configured on the ConnectionInfo, then the connection is forcibly closed with an onFailure notification. 

 

C++
void OnActivityWarning(bool warningOn);
C#
void OnActivityWarning(bool warningOn);
Visual Basic
Function OnActivityWarning(warningOn As bool) As void
Parameters 
Description 
bool warningOn 
if true, issues the warning for a stalled connection; otherwise resets a previously issued warning.