-
June 30th, 2010, 11:33 PM
#1
DataAdapter Service
Hi,
I've created a data adapter that is started with a bat file, and of course this works without any problems. So I decided to see how I could convert this to a windows service. Using VS2010, I created a class that inherits from the windows "ServiceBase" class. I also implement the Lightstreamer IDataProvider interface in this class. The problem I'm encountering is the ServiceBase implements their OnStart/OnStop methods while at the same time I need to implement the Lightstreamer Init method. I can get one set of methods called, but not the other. So in short I see the service starting, but the Init method is never called.
After viewing some other forum posts it would seem that this is a generic problem others are encountering. I'm seeing requests to have the Lightstreamer server to start it's data adapters or somehow have the adapters auto start. In a production environment I really don't see an admin having to remember to restart the adapters after a machine reboot/reconfiguration. Ideally the Lightstreamer server would have a configuration parameter that lists it's adapters for startup. I'm thinking most environments run their adapters on the same machine as the server - take a poll!
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 04:36 AM.
Bookmarks