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

Notification of the closure of the Connection because of a Server decision. Upon this notification, it is possible to perform custom recovery actions, such as trying a reconnection; however, it may be advisable not to try a new connection immediately.

C++
void OnEnd(int cause);
C#
void OnEnd(int cause);
Visual Basic
Function OnEnd(cause As Integer) As void
Parameters 
Description 
int cause 
An integer code that describes the cause of the connection ending; a 0 code stands for an unspecified cause. See the "END" message in the text protocol documentation for details on the possible causes.