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_HOME
adapters
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