Results 1 to 9 of 9

Hybrid View

  1. #1
    Thanks for reply, but I want to ask, why my client cant receive real-time data ? Because from server sides my FeedSimulator still working and update data. What problems here. Again, 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,

    So your problem is that you have changed the Data Adapter code, such that it no longer provides the snapshot, but then you also no longer receive the normal real-time updates?
    First, your changes to remove the snapshot management from the Data Adapter seem correct to me.

    Let me recap what the scenario should look like in your case:

    1. a client subscribes for the first time an item of the StockList demo, let's say item1;
    2. the Lightstreamer server receives the subscribe request and asks the Data Adapter for the snapshot;
    3. the Data Adapter reply false to IsSnapshotAvailable
    4. the Lightstreamer server dispatches an EndOfSnapshot event to the client
    5. when the ExternalFeedProducer of the adapter produces a new update for item1 the Data Adapter pushes it into the Lightstreamer server
    6. the Lightstreamer server sends the update to the client, unless it is filtered for some reason (that can be either an exceeding of the frequency limit imposed for that client or the outgoing queue for that client is full).

    Then 5. and 6. repeat until the client unsubscribes item1.

    Now it is necessary to understand in your case what is actually missing if only point 6. or also points 4. and 5.
    Please could you reproduce the issue after changing these log settings (lightstreamer_log_conf.xml):

    <logger name="LightstreamerLogger.requests" level="INFO"/>
    <logger name="LightstreamerLogger.subscriptions" level="DEBUG"/>
    <logger name="LightstreamerLogger.subscriptions.upd" level="DEBUG"/>
    <logger name="LightstreamerLogger.pump" level="DEBUG"/>


    then the lightstreamer.log should provide useful information to understand what is going wrong.

    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 12:49 AM.