Beispiel #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");
        }
Beispiel #2
0
 public void setFilterManager(FilterManager filterManager)
 {
     this.filterManager = filterManager;
 }