/* 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
#include <string>
#include <stdexcept>
-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(){};
virtual RoutePos *createpos() const = 0;
virtual void start() = 0;
+ virtual void stop(int signo) = 0;
};
class RoutePos : boost::noncopyable {