-
October 9th, 2008, 07:12 AM
#1
yes it works
-
October 9th, 2008, 12:31 PM
#2
get the list of subscribed items
any way, in this method is there any way to get the list of all the subscribed items initially.
or at least the number of items that is subscribed to that user?
To create the table correctly, i need the number of subscribed items in the web client. is it possible to catch it in the onStart() method in js or in some other method. Also can you please elaborate the use of setSnapshotRequried(true) onEngineCreation. I think i may use it. can you please elaborate?
-
October 10th, 2008, 10:38 AM
#3
This metainformation is not supplied, though your suggestion about onStart makes sense.
At the moment, you would need to setup a separate item to get this information.
The group names were introduced as shortcuts for known sets of items, like stock lists.
Note that, for unknown sets, the COMMAND mode is also available, though it covers the more generic case of dynamic sets and requires specific handling by the Data Adapter.
By issuing setSnapshotRequired(true), you ask for a preliminary update about the current state of the item (for each item in the table). The Server tries to send this update immediately.
The snapshot is covered in the "DOCS-SDKs/General Concepts.pdf" document, paragraph 3.4.1.
onEngineCreation allows you to perform Engine initialization (The Engine page connects to Lightstreamer Server on behalf of one or more Push-Pages). The Master Push-page, after creating the Engine through "createEngine", receives a call to the onEngineCreation callback, through which it can (and should) configure the Engine so that it can access the Server.
Details can be found in the online documentation, but the normal usage is best described by the provided sample pages.
Similar Threads
-
By abhijeetgk in forum Adapter SDKs
Replies: 1
Last Post: September 28th, 2011, 10:53 AM
-
By bartol82 in forum Adapter SDKs
Replies: 1
Last Post: August 30th, 2011, 10:15 AM
-
By Otake in forum Client SDKs
Replies: 5
Last Post: December 17th, 2009, 02:15 PM
-
By nagakumaran in forum Adapter SDKs
Replies: 6
Last Post: October 16th, 2007, 02:11 PM
-
By Mone in forum Client SDKs
Replies: 2
Last Post: May 7th, 2007, 02:59 PM
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 06:11 PM.
Bookmarks