-
January 5th, 2023, 10:50 AM
#1
Thanks for reply, another question, sry:
In 1, you said that: If the Data Adapter replies false, the Data Adapter can start pushing real-time events right away.
But from client, I got Keep Alive ping only ? What problems here ?
I am using Lightstreamer-example-StockList-adapter-dotnet get from your Github
with some modify in src/src_data_adapter/StockList.cs:
- Line 79 to: // _myFeed.SendCurrentValues(itemName);
- Line 106 to: return false;
-
January 5th, 2023, 11:36 AM
#2
Hi chickendev,
Yes, if for a client session there are no real-time updates to send and after a configurable timeout no updates have been sent, then a small keep-alive message is sent.
The timeout can be configured both client-side and server-side.
For the server-side please refer to <default_keepalive_millis>, <min_keepalive_millis>, and <max_keepalive_millis> in the lightstreamer_conf.xml configuration file.
For the client-side refer to the API: https://sdk.lightstreamer.com/ls-web-client/8.0.7/api/ConnectionOptions.html#setKeepaliveInterval
For a better control of the connection status, and to allow the server to detect a possible disconnection by the client as soon as possible, it is also possible to activate the reverse heartbeats (sent by the client to the server): https://sdk.lightstreamer.com/ls-web...rtbeatInterval
Regards,
Giuseppe
Similar Threads
-
By lizamare in forum Adapter SDKs
Replies: 1
Last Post: April 17th, 2015, 09:59 AM
-
By rvkvino in forum Client SDKs
Replies: 4
Last Post: September 24th, 2013, 09:28 AM
-
By tuongkha in forum Adapter SDKs
Replies: 2
Last Post: March 19th, 2008, 10:19 AM
-
By bayu in forum Client SDKs
Replies: 1
Last Post: December 17th, 2007, 10:14 AM
-
By sukhdev in forum Adapter SDKs
Replies: 3
Last Post: August 1st, 2007, 08:44 AM
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 05:09 PM.
Bookmarks