private void DeinitializeMaster() { if (masterRunner != null) { masterRunner.Dispose(); masterRunner = null; } }
private void InitializeMaster() { if (AppConfig.BoolFromString(ac.isMaster)) { masterRunner = new MasterRunner(); masterRunner.MasterPort = ac.masterPort; masterRunner.CLIPort = ac.cliPort; masterRunner.StartupPlan = ac.startupPlanName; masterRunner.SharedConfigFile = ac.sharedCfgFileName; try { masterRunner.Launch(); masterRunner.StartKeepAlive(); } catch (Exception ex) { log.Error(ex); ExceptionDialog.showException(ex, "Dirigent Exception", ""); masterRunner = null; } } }