X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Frouter_flexml.hpp;h=6fca6126965e0a4a45b58a05f96cdca903c23ba2;hb=9838c2eadf06b6bfe3d6eb264c1b485b51ba1a06;hp=4dbbb2e549fe8a28e22b64c0f0fbb0efc077bf4c;hpb=e6d572ef110d14fa55115021505b808620457bd3;p=metaproxy-moved-to-github.git diff --git a/src/router_flexml.hpp b/src/router_flexml.hpp index 4dbbb2e..6fca612 100644 --- a/src/router_flexml.hpp +++ b/src/router_flexml.hpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2010 Index Data + Copyright (C) 2005-2013 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 @@ -27,9 +27,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include -namespace metaproxy_1 +namespace metaproxy_1 { - class RouterFleXML : public metaproxy_1::Router + class RouterFleXML : public metaproxy_1::Router { class Rep; class Route; @@ -38,20 +38,17 @@ namespace metaproxy_1 RouterFleXML(std::string xmlconf, metaproxy_1::FactoryFilter &factory, bool test_only); RouterFleXML(xmlDocPtr doc, metaproxy_1::FactoryFilter &factory, - bool test_only); - + bool test_only, const char *file_include_path); + ~RouterFleXML(); virtual RoutePos *createpos() const; - class XMLError1 : public std::runtime_error { - public: - XMLError1(const std::string msg) : - std::runtime_error("XMLError : " + msg) {} ; - }; + void start(); + void stop(int signo); private: boost::scoped_ptr m_p; }; - + }; #endif