Exemplo n.º 1
0
 public Treshold(string name, TresholdFunction function, int maxretry, int repeat, int bantime, string action)
 {
     Name     = name;
     Function = function;
     MaxRetry = maxretry;
     Repeat   = repeat;
     Bantime  = bantime;
     Action   = action;
     Last     = new Dictionary <IPAddress, long>();
 }
Exemplo n.º 2
0
 public Treshold(string name, TresholdFunction function, int maxretry, int repeat, int bantime, string action)
 {
     Name = name;
     Function = function;
     MaxRetry = maxretry;
     Repeat = repeat;
     Bantime = bantime;
     Action = action;
     Last = new Dictionary<IPAddress, long>();
 }