1 /* $Id: router.hpp,v 1.5 2005-11-03 14:45:16 adam Exp $
2 Copyright (c) 2005, Index Data.
20 class RouterException : public std::runtime_error {
22 RouterException(const std::string message)
23 : std::runtime_error("RouterException: " + message){};
32 /// determines next Filter to use from current Filter and Package
33 virtual const filter::Base *move(const filter::Base *filter,
34 const Package *package) const {
38 /// re-read configuration of routing tables
39 //virtual void configure(){};
41 /// add routing rule expressed as Filter to Router
42 //virtual Router & rule(const filter::Base &filter){
46 /// disabled because class is singleton
47 Router(const Router &);
49 /// disabled because class is singleton
50 Router& operator=(const Router &);
61 * indent-tabs-mode: nil
62 * c-file-style: "stroustrup"
64 * vim: shiftwidth=4 tabstop=8 expandtab