1 /* $Id: router.hpp,v 1.4 2005-10-26 10:21:03 marc Exp $
2 Copyright (c) 2005, Index Data.
19 class RouterException : public std::runtime_error {
21 RouterException(const std::string message)
22 : std::runtime_error("RouterException: " + message){};
31 /// determines next Filter to use from current Filter and Package
32 virtual const filter::Base *move(const filter::Base *filter,
33 const Package *package) const {
37 /// re-read configuration of routing tables
38 //virtual void configure(){};
40 /// add routing rule expressed as Filter to Router
41 //virtual Router & rule(const filter::Base &filter){
45 /// disabled because class is singleton
46 Router(const Router &);
48 /// disabled because class is singleton
49 Router& operator=(const Router &);
60 * indent-tabs-mode: nil
61 * c-file-style: "stroustrup"
63 * vim: shiftwidth=4 tabstop=8 expandtab