Beispiel #1
0
        public void NotifyChange(Program prog, FirewallRuleEx rule, Priv10Engine.RuleEventType type, Priv10Engine.RuleFixAction action)
        {
            List <byte[]> args = new List <byte[]>();

            args.Add(PutProg(prog));
            args.Add(PutRule(rule));
            args.Add(PutStr(type));
            args.Add(PutStr(action));
            SendPushNotification("ChangeNotification", args);
        }
Beispiel #2
0
 public void NotifyChange(Program prog, FirewallRuleEx rule, Priv10Engine.RuleEventType type, Priv10Engine.RuleFixAction action)
 {
     Priv10Engine.ChangeArgs args = new Priv10Engine.ChangeArgs()
     {
         prog   = prog,
         rule   = rule,
         type   = type,
         action = action
     };
     SendPushNotification("ChangeNotification", args);
 }