Results 1 to 8 of 8

Hybrid View

  1. #1
    Senior Member
    Join Date
    Aug 2014
    Posts
    71
    Dears,
    i try all possible values of IsSnapshotAvailable and _listener.Update
    1- true - true
    2- false - false
    3- true - false
    4- false - true

    the 1&2 cases not return null and also not return the snapshot.
    the 3&4 cases return null on first update from lightstreamer.

    what i need is to get the snapshot data on first update

    Regards

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Case 1 should return the snapshot, case 4 should not return the nulls, can you please double-ceck?

    In any case you can't use a fixed value in the update call:

    you have to return true in the IsSnapshotAvailable and then you have to use true on the first Update call following the subscription of the related item, and use false for every subsequent call until you get the unsubscription for the item. If there is a new subscription call you will repeat the same: true on the first Update false on the subsequent ones

    This demo does that: https://github.com/Weswit/Lightstrea...dapter-dotnet/

    https://github.com/Weswit/Lightstrea...ockList.cs#L62

    https://github.com/Weswit/Lightstrea...ckList.cs#L102

 

 

Similar Threads

  1. StaticGrid updates: get old/new values
    By darch in forum Client SDKs
    Replies: 0
    Last Post: March 14th, 2013, 02:59 PM
  2. Going back to old values
    By finodex in forum Client SDKs
    Replies: 3
    Last Post: September 10th, 2012, 09:47 AM
  3. Formatting of unchanged values in "DynaScrollTable"
    By hofmanna in forum Client SDKs
    Replies: 5
    Last Post: January 14th, 2010, 10:02 AM
  4. Are unchanged values broadcasted?
    By Otake in forum Client SDKs
    Replies: 2
    Last Post: December 17th, 2009, 02:13 PM
  5. DISTINCT updates are NULL with recent LS server
    By rsouissi in forum Client SDKs
    Replies: 4
    Last Post: March 6th, 2008, 01:59 PM

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:54 PM.