public override object Clone()
        {
            DaemonProcessMonitorService clone = new DaemonProcessMonitorService(Logger);

            clone.CopyProperties(this);
            clone.CopyEventHandlers(this);
            return(clone);
        }
Пример #2
0
 public DaemonResponder(BamConf conf, DaemonProcessMonitorService monitorService, ILogger logger, bool verbose = false)
     : base(conf, logger)
 {
     RendererFactory       = new RendererFactory(logger);
     ServiceProxyResponder = new ServiceProxyResponder(conf, logger);
     ServiceProxyResponder.AddCommonService(new CommandService());
     ServiceProxyResponder.AddCommonService(monitorService);
     DataSettings.Current.SetRuntimeAppDataDirectory();
     if (verbose)
     {
         WireResponseLogging(ServiceProxyResponder, logger);
     }
 }
Пример #3
0
 public DaemonServer(BamConf conf, DaemonProcessMonitorService monitorService, ILogger logger, bool verbose = false)
     : base(new DaemonResponder(conf, monitorService, logger, verbose), logger)
 {
     MonitorService = monitorService;
 }