public override void Stop()
 {
     RFStatic.SetShutdown();
     _queueMonitor.Shutdown();
     _localContext.RaiseEvent(this, new RFEvent {
         Timestamp = DateTime.Now
     });
     _context.Shutdown();
 }
 public override void Stop()
 {
     RFStatic.SetShutdown();
     _context.CancellationTokenSource.Cancel();
     _processingContext.RaiseEvent(this, new RFEvent {
         Timestamp = DateTime.Now
     });
     Thread.Sleep(1000);
     _workQueueMonitor.Shutdown();
     _processingContext.RaiseEvent(this, new RFEvent {
         Timestamp = DateTime.Now
     });
 }
Example #3
0
 public override void Stop()
 {
     RFStatic.SetShutdown();
 }