Example #1
0
        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();
        }
Example #2
0
 public void setFilterManager(FilterManager filterManager)
 {
     this.filterManager = filterManager;
 }
Example #3
0
 public void SetFilterManager(FilterManager filterManager)
 {
     this._filterManager = filterManager;
 }