Lightstreamer PCL (Portable Class Library) Client 3.1.0
ContentsIndexHome
PreviousUpNext
IConnectionListener Interface

Receives notifications of connection activity and errors. 

The notification sequence follows the pattern: 

[CE [SS (NB | DE | AW(true) AW(false) )* [AW(true)] [E | F1 | F2] C] ]  

where F1 and F2 represent the two versions of OnFailure(). 

A distinct listener must be used for any distinct connection opened.  

All notifications are sent in sequence on a dedicated thread. 

 

C++
public: __interface IConnectionListener;
C#
public interface IConnectionListener;
Visual Basic
Public Interface IConnectionListener