-
November 5th, 2009, 11:38 AM
#1
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.
-
November 6th, 2009, 08:28 AM
#2
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
-
By sfs123 in forum Client SDKs
Replies: 1
Last Post: July 13th, 2011, 09:13 AM
-
By Pradeep Chahal in forum Client SDKs
Replies: 1
Last Post: February 2nd, 2010, 10:11 AM
-
By Pradeep Chahal in forum Adapter SDKs
Replies: 1
Last Post: February 2nd, 2010, 09:23 AM
-
By lethanhclub in forum Client SDKs
Replies: 6
Last Post: August 26th, 2009, 10:15 AM
-
By Sinead in forum Client SDKs
Replies: 3
Last Post: February 8th, 2007, 09:11 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 03:11 PM.
Bookmarks