Rename from yp2 to metaproxy. The namespace for all definitions
[metaproxy-moved-to-github.git] / src / router_chain.hpp
index 033b277..21a423c 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: router_chain.hpp,v 1.3 2005-11-10 23:10:42 adam Exp $
-   Copyright (c) 2005, Index Data.
+/* $Id: router_chain.hpp,v 1.6 2006-03-16 10:40:59 adam Exp $
+   Copyright (c) 2005-2006, Index Data.
 
 %LICENSE%
  */
 #include <boost/scoped_ptr.hpp>
 #include <stdexcept>
 
-namespace yp2 {
+namespace metaproxy_1 {
     class RouterChain : public Router {
         class Rep;
+        class Pos;
     public:
         RouterChain();
         virtual ~RouterChain();
-        virtual const filter::Base *move(const filter::Base *filter,
-                                         const Package *package) const;
-        
+        virtual RoutePos *createpos() const;
         RouterChain & append(const filter::Base &filter);
     private:
         boost::scoped_ptr<Rep> m_p;