public virtual void HandleOut(string command, List <string> args, string line) { if (successor != null) { successor.HandleOut(command, args, line); } }
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); } } }