Lightstreamer .Net Adapter 1.10.0
ContentsIndexHome
PreviousUpNext
IExceptionHandler.handleIOException Method

Called by the Remote Server upon a read or write operation failure. This may mean that the connection to the Server is lost; in any way, after this error, the correct Lightstreamer Server and Remote Server operation is compromised. This can be the signal of a normal Server termination. If this is not the case, then Lightstreamer Server should be restarted and the Remote Server should be reinitialized (i.e. the process should be restarted or a new Server class instance should be used). 

The default handling closes the Remote Server. This also ensures that the Proxy Adapter causes the closure of Lightstreamer Server. 

 

C++
bool handleIOException(Exception exception);
C#
bool handleIOException(Exception exception);
Visual Basic
Function handleIOException(exception As Exception) As bool
Parameters 
Description 
Exception exception 
An Exception showing the cause of the problem. 

true to enable the default handling, false to suppress it.