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