Results 1 to 3 of 3

Thread: Populate Data

Hybrid View

  1. #1
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    Both operations should be performed by your Data Adapter.
    Upon a "subscribe" call, both the lookup on the database and the request to the runtime data source should be initiated. Note that if you don't synchronize the two operations properly, you could miss some real-time event newer than the database value or receive some real-time event that is older than the database value.
    Then you should return from "subscribe" and wait for the data, to be forwarded to Lightstreamer Server in an asynchronous way.
    You should take care of forwarding the result from the database first, with the "isSnapshot" flag set as true, then all the real-time updates, with the "isSnapshot" flag set as false. Any real-time update that happened to come before the initial database result should be delayed.
    Note that the same operations might be needed after any further "unsubscribe" and "subscribe" calls for the same item.

    As Lightstreamer, we can't suggest you "how" you can do that.

  2. #2
    Member
    Join Date
    Apr 2009
    Location
    Kuwait
    Posts
    17
    Thank you very much..

 

 

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 03:28 AM.