Results 1 to 9 of 9

Threaded View

  1. #1

    Question Snapshot is a flag or value?

    Please help me explain to it, make me confuse a lot.
    In a lot of your example, i saw when feed simulator generate new value and call OnEvent(), isSnapshot always true, I understand because it is real-time data,
    But in case first client subscribed, feed simulator still generate new value and send to it. In some real project, it get last value from database and set isSnapshot to true.
    So I want to ask. snapshot is value ? If it is value, where I can access it ? And why we not send directly snapshot, instead get from 3rd like database. My LS server always in running.
    In case 2nd client subscribed same item with first client and request snapshot, MERGE MODE, current itemUpdate of item1 will be sent to client 2 with tag snapshot=true ? Or with distinct mode, current items in itemeventbuffer will be sent with tag ? instead cached value and make it as snapshot value and send ?
    And, I saw we can set tag when sent, in case I got old value but set snapshot to false and send, it still valid ? From client or another side, how to check that ?
    Thanks for support. <3
    Last edited by chickendev; January 4th, 2023 at 08:01 AM.

 

 

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 01:53 AM.