Exemplo n.º 1
0
 public ServiceCheckerManager()
 {
     m_ServiceList = getProcess();
     foreach (string str in m_ServiceList)
     {
         Console.WriteLine("Service checker listening to service named : " + str);
     }
     m_Checker = new ServiceCheckerEngine(m_ServiceList);
     m_WaitBetweenCheckSeconds = int.Parse(ConfigurationManager.AppSettings["WaitBetweenCheckSeconds"]);
 }
 public ServiceCheckerManager()
 {
     m_ServiceList = getProcess();
     foreach (string str in m_ServiceList)
     {
         Console.WriteLine("Service checker listening to service named : " + str);
     }
     m_Checker = new ServiceCheckerEngine(m_ServiceList);
     m_WaitBetweenCheckSeconds = int.Parse(ConfigurationManager.AppSettings["WaitBetweenCheckSeconds"]);
 }