Beispiel #1
0
 public virtual void HandleOut(string command, List <string> args, string line)
 {
     if (successor != null)
     {
         successor.HandleOut(command, args, line);
     }
 }
Beispiel #2
0
 public virtual void HandleCommand(bool io, string command, List <string> args, string line)
 {
     lock (lockObj) {
         if (io)
         {
             handler.HandleLocal(command, args, line);
         }
         else
         {
             handler.HandleOut(command, args, line);
         }
     }
 }