/// <summary> /// updateInterval in ms! /// </summary> /// <param name="updateInterval"></param> public Worker(int updateInterval, StringMessageInformer informer, ISubmitable submissionType) { this.informer = informer; timer = new Timer(updateInterval); timer.Elapsed += timer_Elapsed; //setup message transmission submit = submissionType; submit.Start(); }
/// <summary> /// updateInterval in ms! /// </summary> /// <param name="updateInterval"></param> public Worker(int updateInterval, StringMessageInformer informer, ISubmitable submissionType) { client = new RunningAppsQueryServiceSoapClient(); this.informer = informer; timer = new Timer(updateInterval); timer.Elapsed += timer_Elapsed; //setup message transmission submit = submissionType; submit.Start(); }