static void Main(string[] args) { FilterManager filterManager = new FilterManager(new Target()); filterManager.SetFilter(new AuthenticationFilter()); filterManager.SetFilter(new DebugFilter()); Client client = new Client(); client.SetFilterManager(filterManager); client.SendRequest("HOME"); Console.ReadKey(); }
public void setFilterManager(FilterManager filterManager) { this.filterManager = filterManager; }
public void SetFilterManager(FilterManager filterManager) { this._filterManager = filterManager; }