Lightstreamer PCL (Portable Class Library) Client 3.1.0
ContentsIndexHome
PreviousUpNext
IConnectionListener.OnSessionStarted Method

Notification that a session has been started by the Server on the connection.

C++
void OnSessionStarted(bool isPolling);
C#
void OnSessionStarted(bool isPolling);
Visual Basic
Function OnSessionStarted(isPolling As bool) As void
Parameters 
Description 
bool isPolling 
True if the session is in polling mode, false if the session is in streaming mode. The setting reflects the one requested with the LSClient.OpenConnection call, unless the Stream-sense mechanism has been exploited.