public ConnectDdosProtection(
     IProtectionManagerConfig config,
     ITaskSchedulerFactory taskSchedulerFactory,
     IShamanLogger logger)
 {
     _config        = config;
     _taskScheduler = taskSchedulerFactory.GetTaskScheduler();
     _logger        = logger;
 }
Пример #2
0
 public ProtectionManager(IConnectDdosProtection ddosProtection, IProtectionManagerConfig config, IShamanLogger logger)
 {
     _ddosProtection = ddosProtection;
     _config         = config;
     _logger         = logger;
 }