Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Oct 2007
    Location
    Colorado Springs
    Posts
    16

    Angry Multiple Data Provides

    In the trial version of Lighstreamer, is it possible to use adapter sets for .NET? I need to have multiple data providers under a single adapter. Could you please provide an example XML file showing this configuration. By the way, I am using the adapter.xml file provided in the HelloWorld example as a starting point.

    Thanks in advance.

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    hi,

    you can use multiple .net data adapters within a single adapter set. You just have to configure the adapters.xml correctly so that it can connect to your remote .net adapters.

    e.g.:

    note the name property of the <data_provider> element

    obviously you have to configure your second data adapter to use port 6663 and 6664 instead of using 6661 and 6662.

    From a client point of view you must now set the adapter name to receive data from the desired data adapter:

    note the setDataAdapter call

    hope that helps

 

 

Similar Threads

  1. Multiple Data/Metadata Adapters
    By odeheurles in forum Adapter APIs
    Replies: 6
    Last Post: January 26th, 2015, 10:50 AM
  2. Single data provider and multiple data sources
    By pluczak in forum Adapter APIs
    Replies: 1
    Last Post: April 26th, 2012, 11:50 AM
  3. Sample code for multiple data adapter access
    By h2c357 in forum Client APIs
    Replies: 1
    Last Post: September 8th, 2011, 09:55 AM
  4. multiple data adapters
    By rd2008 in forum Client APIs
    Replies: 2
    Last Post: January 7th, 2009, 03:28 PM
  5. Replies: 3
    Last Post: August 18th, 2008, 01:55 PM

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 09:02 AM.