public VMMonitor(VMActivityQueue q) { getInfo(); vmMonitorTimer = new Timer(1000 * 60 * monitorInterval); queue = q; checkVM(); }
protected override void OnStart(string[] args) { activityQueue = new VMActivityQueue(); server = new Server(activityQueue); vmMonitor = new VMMonitor(activityQueue); vmMonitor.Start(); regMon(); }
public Server(VMActivityQueue q) { queue = q; vmList = new List<vmEntry>(); GetVMInfo(); // CheckActiveVMSet(); ownWrite = false; listeningThread = new Thread(new ThreadStart(ListenForRequests)); listeningThread.Start(); }