-
June 3rd, 2010, 11:26 AM
#11
About the snapshots, they come for the various items in the table independently of one another, just like the real-time updates
and there is no notification that all of them have been received.
You could determine that by knowing how many items are in the table,
but, unfortunately, the information on the number of items is indeed lacking for the SimpleTableInfo case.
Do you confirm that in your case the client, at the time of subscription, doesn't know how many items are involved?
To workaround the limitation, your Metadata Adapter, when resolving the group ID in getItems, could add a "sentinel" item as the last element of the returned array.
The sentinel item would just associate a recognizable value to a specific field, so that the client, upon reception of the snapshots, could recognize that value and take the index of the related item as the last one (still, it would be possible that the shapshot for some of the previous items would be yet to come).
Similar Threads
-
By ablock in forum Client SDKs
Replies: 1
Last Post: May 2nd, 2012, 01:56 PM
-
By betasec in forum Client SDKs
Replies: 1
Last Post: February 21st, 2011, 11:03 AM
-
By colmfield in forum Client SDKs
Replies: 5
Last Post: July 13th, 2010, 03:37 PM
-
By EWANG in forum Client SDKs
Replies: 1
Last Post: August 19th, 2009, 11:17 AM
-
By rekhender in forum Adapter SDKs
Replies: 1
Last Post: October 31st, 2008, 10:58 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 10:40 AM.
Bookmarks