Example #1
0
        public UnBlockService(IDataStore dataStore, IFirewallIpBlocker ipBlocker)
        {
            this.dataStore = dataStore;
            this.ipBlocker = ipBlocker;

            Run();
        }
Example #2
0
 public BlockService(IDataStore dataStore, ILogReader logFileDataSource, IIPLocator ipLocator, IFirewallIpBlocker ipBlocker, IIPBlockPolicyFactory policyFactory)
 {
     this.dataStore         = dataStore;
     this.logFileDataSource = logFileDataSource;
     this.ipLocator         = ipLocator;
     this.ipBlocker         = ipBlocker;
     this.policyFactory     = policyFactory;
     Run();
 }