Results 1 to 9 of 9

Hybrid View

  1. #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;

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    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

  1. Replies: 1
    Last Post: April 17th, 2015, 09:59 AM
  2. Replies: 4
    Last Post: September 24th, 2013, 09:28 AM
  3. Replies: 2
    Last Post: March 19th, 2008, 10:19 AM
  4. VisualTable = How to capture value?
    By bayu in forum Client SDKs
    Replies: 1
    Last Post: December 17th, 2007, 10:14 AM
  5. Pre-Processor Snapshot vs DataAdapter Snapshot
    By sukhdev in forum Adapter SDKs
    Replies: 3
    Last Post: August 1st, 2007, 08:44 AM

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 07:06 AM.