Allow timeout to be specified for filter z3950_client
[metaproxy-moved-to-github.git] / src / router_flexml.hpp
index be7b66d..aa68125 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: router_flexml.hpp,v 1.10 2006-01-05 16:39:37 adam Exp $
+/* $Id: router_flexml.hpp,v 1.12 2006-01-09 13:53:13 adam Exp $
    Copyright (c) 2005, Index Data.
 
    %LICENSE%
@@ -18,13 +18,14 @@ namespace yp2
     {
         class Rep;
         class Route;
+        class Pos;
     public:
         RouterFleXML(std::string xmlconf, yp2::FactoryFilter &factory);
+        RouterFleXML(xmlDocPtr doc, yp2::FactoryFilter &factory);
         
         ~RouterFleXML();
-        
-        virtual const filter::Base *move(const filter::Base *filter,
-                                         const Package *package) const;
+
+        virtual RoutePos *createpos() const;
         class XMLError : public std::runtime_error {
         public:
             XMLError(const std::string msg) :