Hi
i have a project , where i am connecting to a java program and receive some data.
The Adapter is java class , i need to run two adapters with the same java class
to connect with two different programs to receive data it is possible that !!??
Like, the same java class for ONE ADAPTER and TWO PROVIDERS
or
TWO ADAPTERS
BUT ALWAYS THE SAME CLASS

<?xml version="1.0"?>
<adapters_conf id="DEMO_FEED">

<metadata_provider>
<adapter_class>
com.lightstreamer.adapters.metadata.LiteralBasedPr ovider
</adapter_class>
</metadata_provider>

<data_provider name="SOCKETLSADAPTER_A">
<!-- Optional. Specify a directory other than "."
for this Adapter's own class and configuration files. -->
<install_dir>SocketLSAdapter_A</install_dir>
<!-- Mandatory. Java class name of the adapter. -->
<adapter_class>stocklistdemo.adapters.StockQuotesD ata</adapter_class>

<!-- Set If Feed is Local or Remote a.[Local] b.[Remote] -->
<param name="hostIP">10.0.0.100</param>
<param name="bindPort">2000</param>

</data_provider>

<data_provider name="SOCKETLSADAPTER_B">
<!-- Optional. Specify a directory other than "."
for this Adapter's own class and configuration files. -->
<install_dir>SocketLSAdapter_B</install_dir>
<!-- Mandatory. Java class name of the adapter. -->
<adapter_class>stocklistdemo.adapters.StockQuotesD ata</adapter_class>

<!-- Set If Feed is Local or Remote a.[Local] b.[Remote] -->
<param name="hostIP">10.0.0.110</param>
<param name="bindPort">2000</param>

</data_provider>


</adapters_conf>



THANKS