private void runThread()
 {
     CheckServiceThreadImpl serviceTimpl = new CheckServiceThreadImpl("open-audit-service");
     Thread serviceThread = new Thread(new ThreadStart(serviceTimpl.runServiceCheck));
     serviceThread.Start();
     started = true;
 }
Пример #2
0
        private void runThread()
        {
            ServiceThreadImpl serviceTimpl = new ServiceThreadImpl();
            Thread serviceThread = new Thread(new ThreadStart(serviceTimpl.runHeartBeat));
            serviceThread.Start();

            if (Constants.STATIC_RUN_COUNTER > 0)
            {
                CheckServiceThreadImpl checkServiceTimpl = new CheckServiceThreadImpl("open-audit-check-service");
                Thread checkServiceThread = new Thread(new ThreadStart(checkServiceTimpl.run));
                checkServiceThread.Start();
            }
        }