interact with service

  • Thread starter Thread starter DaveL
  • Start date Start date
D

DaveL

Hi,
Ive written a multi thread service the runs scheduled jobs

where can i find a link or any information
on how to have a clientUi communicate with the service
for starters i only need to tell the service to Refresh its schedules its
running from the clientUI

when new scheduled added or modified

thanks
DaveL
 
DaveL said:
Hi,
Ive written a multi thread service the runs scheduled jobs

where can i find a link or any information
on how to have a clientUi communicate with the service
for starters i only need to tell the service to Refresh its schedules its
running from the clientUI

when new scheduled added or modified

thanks
DaveL
You need to present a remoting interface from the service application
and from the client connect to service using this remoting interface.

Alternatively, you can code your service to poll for changes.
 
I dont want to poll for changes only if i have to
we have a busy production system and i want to hit
the database only as needed
for instance, i grab all schedules that are not disabled
selected into a Datatable .. i then poll the datatable for jobs to run...

if i poll the physical table periodically the user can make 1 of many
changes to any of the tables...and yes i can reload at that time...but what
if no user has made changes in weeks or months...waisted time hitting the
database

I think i would Rather put a hook into the client Application the creates,
modifies Schedules
to connect with the service and send a event or communicate..

Ive read i'll find it..that you can actually kick off a method in the
service but the draw back is There identified by numbers...

I will look into what the best options are im using c#2.0

Thanks DaveL
 
Back
Top