filter factory in working shape, see example in test_filer_factory.cpp
[metaproxy-moved-to-github.git] / src / ex_filter_frontend_net.cpp
index cace494..df2e214 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: ex_filter_frontend_net.cpp,v 1.13 2005-10-26 10:55:26 marc Exp $
+/* $Id: ex_filter_frontend_net.cpp,v 1.15 2005-10-29 22:23:36 marc Exp $
    Copyright (c) 2005, Index Data.
 
 %LICENSE%
@@ -49,6 +49,9 @@ public:
         }
         return package.move();
     };
+    const std::string type() const {
+        return "HTTPFilter";
+    };
 };
 
 int main(int argc, char **argv)
@@ -103,7 +106,7 @@ int main(int argc, char **argv)
             // put Virt db filter in router
             yp2::filter::Virt_db filter_virt_db;
             filter_virt_db.add_map_db2vhost("Default", "indexdata.dk/gils");
-            filter_virt_db.add_map_db2vhost("Local", "localhost:9999/Default");
+            filter_virt_db.add_map_db2vhost("Local", "localhost:9100/Default");
 
            router.append(filter_virt_db);