Results 1 to 4 of 4
  1. #1

    Lightstreamer Server Termination in a RobustNetworkedDataProvider Environment

    Hello,

    When using the RobustNetworkedDataProvider implementation approach, if Lightstreamer fails then so do all connected Remote Data Adapters. We would like to capture the failure of the Data Adapter due to the termination of the Lightstreamer server. How might we do this?

    Thank you,

    Bill

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    587
    By implementing handleIOException (instead HandleException) you could know when the connection to the Server is lost; but you can not distinguish between a failure of the server (or normal Server termination) and network problems.
    However, the Lightstreamer server does not attempt to send any warning message to the Adapters in any case of termination, normal or caused by a failure.

  3. #3
    Yes, this approach was already tried. I can see the exception being raised in the Lighstreamer RequestReply.RequestReceiver.Run(); however, the handleIOException method is never invoked in our data provider class. (The class does implement the IExceptionHandler interface.)

  4. #4
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    587
    In order that its methods are invoked, your object, instance of the IExceptionHandler interface, should be setted as ExceptionHandeler property of the Server class.
    Can you confirm me that this is your case?

    You can also refer to our example here, please refer to line 195 of the code.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 06:39 AM.