Hey Giuseppe,
Thanks for the prompt reply.
1) Could you please let me know how to initialize the LightStreamer server? I read on a blog that an instance of a Remote Data Adapter is supplied to Lightstreamer through a
lightstreamer_adapter.server.DataProviderServerinstance. Where can I find this
lightstreamer_adapter.server.DataProviderServer class in my LS_Home folder?
2)I tried debugging the
Lightstreamer-example-StockList-adapter-java project. This is how my Main.java code looks like :
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
DataAdapter dataAdapter = new DataAdapter();
Map params = new HashMap<String,String>();
params.put("log_config", "../adapters_log_conf.xml");
params.put("log_config_refresh_seconds", "10");
params.put("adapters_conf.id", "WELCOME");
File configDir = new File("../adapters_log_conf.xml");
ItemEventListener listener ;
dataAdapter.setListener(new ItemEventListener());
dataAdapter.init(params, configDir);
}
}
Could you please let me know if there is some key-value pair that I have missed adding to my params map which is why my init is not working properly?
Please do help.
Thank you,
Priyanka