-
February 14th, 2011, 09:49 AM
#1
Hi,
you can certainly use the same class to run two different data adapters;
you don't have to use two different install_dirs doing so, but you probably need to pass to them a parameter so that them can differentiate themselves in some way (I guess you don't need two data adapters that are one the clone of the other;
So your adapters.xml will look like this:
while the tree of your adapter will look like this:
LS_HOMEadapters
yourAdapter
lib
jarContainingYouAdapterClass.jar
This way Lightstreamer will create two instances of StockQuotesData passing to each of them the specified params.
From the client point view, you can specify the dataAdapter to let them subscribe to one or to the other instance.
HTH
-
February 18th, 2011, 09:45 AM
#2
LS Adapter
Hi thanks for the response
Look like load two times the class but is not working as i want
is connected only to one Feed Server , i have to check my java class to not conflict the variables
Thanks
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 11:14 AM.
Bookmarks