-
October 14th, 2010, 11:22 PM
#1
Hi Alessandro,
Sorry I didn't reply sooner, but I was involved in another project. Anyway I revisited my code and found a solution. When the service is started, I have the main program instantiate the "service" instance. This causes the "OnStart" method to be called, this method in turn instantiates the class I call the "DataAdapterLauncher". This class was the piece I was missing. It has the DataProviderServer instance with the sockets setup and of course it wires up the instance I call "DataAdapter". The DataAdapter instance is implements the LightStreamer logic.
Now the only piece missing is something to wrap all this together. Since the Lightstreamer must be started "first", then the data adapters I was thinking I could write a service that starts the Lightstreamer service, wait for it to complete, then start the data adapter service.
Thanks,
Bruce
Similar Threads
-
By intelsmart in forum Adapter SDKs
Replies: 1
Last Post: April 11th, 2012, 09:03 AM
-
By msgiribabu in forum Adapter SDKs
Replies: 4
Last Post: February 3rd, 2011, 10:33 AM
-
By msgiribabu in forum Adapter SDKs
Replies: 1
Last Post: January 21st, 2011, 01:38 PM
-
By Irwin in forum Adapter SDKs
Replies: 11
Last Post: April 30th, 2010, 08:42 AM
-
By amarin in forum Adapter SDKs
Replies: 4
Last Post: August 21st, 2008, 09:23 AM
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 02:46 PM.
Bookmarks