X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;ds=sidebyside;f=include%2Fmetaproxy%2Frouter.hpp;h=5a1d6f493f34659b4aa92d0ff5c646974aa4d230;hb=b02df3fd0849c5222081013420c18f949c55f9c5;hp=25db0cdd8158036ea99cfe1605991d3889d663c7;hpb=aff78cecdb2c7292899ae15ee8a5fd41accef2b5;p=metaproxy-moved-to-github.git diff --git a/include/metaproxy/router.hpp b/include/metaproxy/router.hpp index 25db0cd..5a1d6f4 100644 --- a/include/metaproxy/router.hpp +++ b/include/metaproxy/router.hpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2012 Index Data + Copyright (C) Index Data Metaproxy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -23,19 +23,19 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include -namespace metaproxy_1 +namespace metaproxy_1 { namespace filter { class Base; } class RoutePos; - + class RouterException : public std::runtime_error { public: RouterException(const std::string message) : std::runtime_error("RouterException: " + message){}; }; - + class Router : boost::noncopyable { public: Router(){}; @@ -43,7 +43,7 @@ namespace metaproxy_1 virtual RoutePos *createpos() const = 0; virtual void start() = 0; - virtual void stop() = 0; + virtual void stop(int signo) = 0; }; class RoutePos : boost::noncopyable {