-
September 7th, 2011, 01:01 PM
#1
Sample code for multiple data adapter access
I am sorry if this has been asked before.
I tried searching the forums but could not find any sample code of the web client library where data from multiple data adapters is accessed in a single push page, if that is possible at all.
Please direct me to some such resource.
Thanks.
-
September 8th, 2011, 08:55 AM
#2
Hi,
you can access two different data adapter from the same page only if they're part of the same adapter set.
you can't connect to two different adapter sets from the same page.
The difference between the two is explained in the "Lightstreamer/DOCS-SDKs/General Concepts.pdf" file
to connect to two different data adapters simply specify them with the setDataAdapter method of the Table objects.
As an example, using our demo adapter set that contains all the data adapters for our demos, you may subscribe to the chat and stocklist in the same page:
Similar Threads
-
By pluczak in forum Adapter SDKs
Replies: 1
Last Post: April 26th, 2012, 10:50 AM
-
By msgiribabu in forum Adapter SDKs
Replies: 1
Last Post: January 31st, 2011, 07:47 AM
-
By Otake in forum Adapter SDKs
Replies: 5
Last Post: October 18th, 2009, 07:09 PM
-
By wmolde in forum Client SDKs
Replies: 5
Last Post: September 24th, 2009, 10:59 AM
-
By rekhender in forum Adapter SDKs
Replies: 5
Last Post: July 23rd, 2008, 09:34 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 09:59 PM.
Bookmarks