-
September 18th, 2009, 11:07 AM
#1
How to Close Connections Properly
Hi,
We are trying to close both a subscriber and a publisher connection, and we are calling Server.Close and client.CloseConnection
But these don't seem to actually close the connection. After these calls nothing is written to the lightstreamer log and we can't reconnect, but have to restart lightstreamer server in order to reconnect on that port.
Liz
-
September 21st, 2009, 01:32 PM
#2
The Server.Close invocation causes the connections towards the Proxy Adapter on Lightstreamer Server to be closed.
This causes Lightstreamer Server to fail, unless the "robust version" of the Proxy Adapter is used.
Hence, it must be restarted to go on; however, it should have logged something before closing.
It's not clear to us what you mean by "subscriber and publisher connection".
Moreover, I can't identify the client.CloseConnection method.
Do you refer to some connection that is managed by your Remote Data Adapter to get data from some backend process?
In this case, consider that the Server.Close method does not invoke any close method on the Remote Data Adapter. Hence, any housekeeping should be requested to the Remote Data Adapter by direct invocation.
Similar Threads
-
By thomas.renger@gmail.com in forum Client SDKs
Replies: 2
Last Post: January 10th, 2011, 03:07 PM
-
By pmthiagu in forum Adapter SDKs
Replies: 3
Last Post: April 15th, 2010, 09:58 AM
-
By spganesh in forum Client SDKs
Replies: 1
Last Post: February 10th, 2010, 10:23 AM
-
By skidrow406 in forum Client SDKs
Replies: 4
Last Post: March 11th, 2008, 05:32 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 09:17 AM.
Bookmarks