Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Member
    Join Date
    Oct 2007
    Location
    Chattanooga
    Posts
    12

    How to use multiple adapters in one web client

    I need to display data from multiple adapters on one web page. How do I code this?

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,093
    The Web Client Library does not support this.
    You can only open one streaming connection at a time and specify one Metadata/Data Adapter pair.
    Using an aggregated Data Adapter is always the suggested technique.

    However, if you really need to work around this limitation, you could open two streaming connections from two different Master Push-Pages of your front-end and refer from other Push-Page to only one of the two. Any mixing of the data from the two Data Adapters on the same page should be handled manually.
    Still, you would have to consider that browsers put a limit on the connections open from the same host at the same time; so, you had better use different hostnames for the two connections.

    Note that the next major release of Lightstreamer will finally introduce the support for distinct Data Adapters in the same streaming connection.

  3. #3
    Member
    Join Date
    Dec 2007
    Location
    São Paulo
    Posts
    9
    Hi Dario,
    I found this issue and this is a very important question for me. I'll use at least 4 different Data Adapters in a single page (like a homebroker's panel with quotes, news, book and orders).
    LightStreamer has already has support for multiples Data Adapter?

  4. #4
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Hi eduramires,

    Support for multiple Data Adapter within the same session was due for the next major release of Lightstreamer. But, considered the high number of requests we are receiving, we have decided to anticipate it, by releasing a new minor release. We don't have a date for it yet, but expect in the next few weeks.

    In the meanwhile, are you sure you need four different physical adapters and you cannot merge them into one single adapter? Based on the item name, you adapter could route the subscription requests to quotes, news, book and orders.

  5. #5
    Member
    Join Date
    Dec 2007
    Location
    São Paulo
    Posts
    9
    Hi Alessandro,

    I didn't know if it would be possible to do a merge of these different informations in one single adapter. If I do that, can I create, for example, 4 differents OvewriteTables, each one with a particular group, schema and subscription type and the LS Server will manage the data for them?

  6. #6
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Eduramires,

    Absolutely yes. You can have as many different tables as you want in your pages, and LS takes care of multiplexing their updates within a single session.

  7. #7
    Member
    Join Date
    Jan 2007
    Location
    London
    Posts
    3

    multiple data adaptors - release?

    Hi Allesandro,

    Is there an ETA on the release to enable multiple adaptor connections per page ?

    Ta,

    Tim

  8. #8
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Hi Tim,

    Lightstreamer Server v.3.5 will do the trick.

    It is currently in the final testing and packaging phases. If no significant delays happen, the public release shoul ba available before the end of June 2008.

    Cheers,

    Alessandro

  9. #9
    Member
    Join Date
    Mar 2008
    Location
    Hk
    Posts
    1
    Hi Alessandro,

    Would I know the latest update about the release of Lightstreamer Server v.3.5?

    Will it be related soon?

    Regards,
    Alfred

  10. #10
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Alfred,

    Yes, we are very close to the release of Lightstreamer Server v.3.5 and updates SDKs. It will be out in the course of this month.

    Thanks for the patience!

    Cheers
    Alessandro

 

 

Similar Threads

  1. Multiple Data/Metadata Adapters
    By odeheurles in forum Adapter SDKs
    Replies: 6
    Last Post: January 26th, 2015, 09:50 AM
  2. .NET Client Multiple Subscriptions
    By wwatts in forum Client SDKs
    Replies: 4
    Last Post: February 16th, 2010, 08:58 AM
  3. multiple data adapters
    By rd2008 in forum Client SDKs
    Replies: 2
    Last Post: January 7th, 2009, 02:28 PM
  4. Multiple adapters
    By TonyRoberts in forum Adapter SDKs
    Replies: 10
    Last Post: September 12th, 2007, 02:46 PM
  5. Accessing multiple adapters
    By Waddy in forum General
    Replies: 2
    Last Post: March 16th, 2007, 06:06 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 10:37 AM.
Lightstreamer Logo