Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2009
    Location
    Noida
    Posts
    26

    Feeding LS with less number of fields as expected by LS

    Hello,
    Use case: if for a particular item, LS expect 3 fields (Ask, Bid, Price) values from dataAdapter, in MERZE mode with snapshot support, and dataAdapter only providing value for two fields (Ask, Bid).
    Will it be fine for LS to push only these two value to client (Web interface) or it will keep waiting for third fields value in case of snap support.
    Pradeep Kr Chahal
    Software Designer
    Expertise in implementing Market Interface, Push technology, Publish-Subscribe Architecture
    pkumar.chahal@gmail.com
    http://www.pradeepchahal.com

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    973
    Lightstreamer Server never waits for single fields to come from the Data Adapter.
    If the Data Adapter sends an event as the item snapshot and the event is incomplete,
    the Server sends null values for the missing fields to the client.

    The web client library API lets you recognize the null values in onItemUpdate.
    In case a visual table is associated to the item, the null value, by default, is treated as an empty string.

 

 

Similar Threads

  1. Replies: 1
    Last Post: July 13th, 2011, 09:13 AM
  2. Incremental fields subscription
    By Pradeep Chahal in forum Client APIs
    Replies: 1
    Last Post: February 2nd, 2010, 10:11 AM
  3. Incremental fields subscription
    By Pradeep Chahal in forum Adapter APIs
    Replies: 1
    Last Post: February 2nd, 2010, 09:23 AM
  4. problem with number of stock name
    By lethanhclub in forum Client APIs
    Replies: 6
    Last Post: August 26th, 2009, 10:15 AM
  5. Replies: 3
    Last Post: February 8th, 2007, 09:11 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 09:07 AM.