Beispiel #1
0
 public VMMonitor(VMActivityQueue q)
 {
     getInfo();
     vmMonitorTimer = new Timer(1000 * 60 * monitorInterval);
     queue = q;
     checkVM();
 }
Beispiel #2
0
        protected override void OnStart(string[] args)
        {
            activityQueue = new VMActivityQueue();

            server = new Server(activityQueue);
            vmMonitor = new VMMonitor(activityQueue);
            vmMonitor.Start();
            regMon();
        }
Beispiel #3
0
        public Server(VMActivityQueue q)
        {
            queue = q;
            vmList = new List<vmEntry>();
            GetVMInfo();
               // CheckActiveVMSet();
            ownWrite = false;

            listeningThread = new Thread(new ThreadStart(ListenForRequests));
            listeningThread.Start();
        }