コード例 #1
0
 public RemoteServerNodeManager(IServerNodeService serverNodeService, ISysLogService sysLogService, ILoggerFactory loggerFactory)
 {
     _serverNodeService       = serverNodeService;
     NodeProxy                = new RemoteServerNodeProxy(sysLogService);
     _logger                  = loggerFactory.CreateLogger <RemoteServerNodeManager>();
     _serverNodeClientReports = new ConcurrentDictionary <string, IService.ClientInfos>();
 }
コード例 #2
0
 public ReportController(IConfigService configService, IAppService appService, IServerNodeService serverNodeService, IRemoteServerNodeProxy remoteServerNodeProxy)
 {
     _appService            = appService;
     _configService         = configService;
     _serverNodeService     = serverNodeService;
     _remoteServerNodeProxy = remoteServerNodeProxy;
 }
コード例 #3
0
 public ServerNodeController(IServerNodeService serverNodeService,
                             ISysLogService sysLogService,
                             IRemoteServerNodeProxy remoteServerNodeProxy)
 {
     _serverNodeService     = serverNodeService;
     _sysLogService         = sysLogService;
     _remoteServerNodeProxy = remoteServerNodeProxy;
 }
コード例 #4
0
 public RemoteServerProxyController(IRemoteServerNodeProxy remoteServerNodeProxy,
                                    IServerNodeService serverNodeService,
                                    ILoggerFactory loggerFactory,
                                    ISysLogService sysLogService)
 {
     _remoteServerNodeProxy = remoteServerNodeProxy;
     _logger = loggerFactory.CreateLogger <RemoteServerProxyController>();
 }
コード例 #5
0
        public EventRegister(IRemoteServerNodeProxy remoteServerNodeProxy)
        {
            _appService        = new AppService(new FreeSqlContext(FreeSQL.Instance));
            _configService     = new ConfigService(new FreeSqlContext(FreeSQL.Instance), null, _appService);
            _sysLogService     = new SysLogService(new FreeSqlContext(FreeSQL.Instance));
            _modifyLogService  = new ModifyLogService(new FreeSqlContext(FreeSQL.Instance));
            _serverNodeService = new ServerNodeService(new FreeSqlContext(FreeSQL.Instance));

            _remoteServerNodeProxy = remoteServerNodeProxy;
        }
コード例 #6
0
 public ConfigController(
     IConfigService configService,
     IModifyLogService modifyLogService,
     IRemoteServerNodeProxy remoteServerNodeProxy,
     IServerNodeService serverNodeService,
     ISysLogService sysLogService)
 {
     _configService         = configService;
     _modifyLogService      = modifyLogService;
     _remoteServerNodeProxy = remoteServerNodeProxy;
     _serverNodeService     = serverNodeService;
     _sysLogService         = sysLogService;
 }
コード例 #7
0
 public ConfigController(
     IConfigService configService,
     IAppService appService,
     IModifyLogService modifyLogService,
     IRemoteServerNodeProxy remoteServerNodeProxy,
     IServerNodeService serverNodeService,
     IAppBasicAuthService appBasicAuthService)
 {
     _configService         = configService;
     _appService            = appService;
     _modifyLogService      = modifyLogService;
     _remoteServerNodeProxy = remoteServerNodeProxy;
     _serverNodeService     = serverNodeService;
     _appBasicAuthService   = appBasicAuthService;
 }
コード例 #8
0
 public ReportController(IConfigService configService, IAppService appService, IServerNodeService serverNodeService)
 {
     _appService        = appService;
     _configService     = configService;
     _serverNodeService = serverNodeService;
 }
コード例 #9
0
 public RemoteServerNodeProxy(ILoggerFactory loggerFactory)
 {
     _sysLogService     = new SysLogService(new FreeSqlContext(FreeSQL.Instance));
     _serverNodeService = new ServerNodeService(new FreeSqlContext(FreeSQL.Instance));
     _logger            = loggerFactory.CreateLogger <RemoteServerNodeProxy>();
 }
コード例 #10
0
 public ServerNodeController(IServerNodeService serverNodeService, ISysLogService sysLogService)
 {
     _serverNodeService = serverNodeService;
     _sysLogService     = sysLogService;
 }