private void StopProjectMonitoring()
 {
     if (projectPoller != null)
     {
         projectPoller.Stop();
         projectPoller = null;
     }
 }
 private void StartProjectMonitoring()
 {
     StopProjectMonitoring();
     projectPoller = new Poller(configuration.PollPeriodSeconds, aggregatedProjectMonitor);
     projectPoller.Start();
 }
		public void StopServerMonitoring()
		{
		    StopProjectMonitoring();

			if (serverPoller != null)
			{
				serverPoller.Stop();
				serverPoller = null;
			}
		}
		public void StartServerMonitoring()
		{
			StopServerMonitoring();

			serverPoller = new Poller(configuration.PollPeriodSeconds, aggregatedServerMonitor);
			serverPoller.Start();

		    StartProjectMonitoring();
		}
 public void StopMonitoring()
 {
     if (poller != null)
     {
         poller.Stop();
         poller = null;
     }
 }
 public void StartMonitoring()
 {
     StopMonitoring();
     poller = new Poller(configuration.PollPeriodSeconds*1000, aggregatedMonitor);
     poller.Start();
 }