/* This file is part of Metaproxy.
- Copyright (C) 2005-2010 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
class Base {
public:
virtual ~Base(){};
-
+
///sends Package off to next Filter, returns altered Package
virtual void process(Package & package) const = 0;
- /// configuration during filter load
- virtual void configure(const xmlNode * ptr, bool test_only);
+ /// configuration during filter load
+ virtual void configure(const xmlNode * ptr, bool test_only,
+ const char *path) = 0;
+
+ virtual void start() const;
+
+ virtual void stop(int signo) const;
};
class FilterException : public std::runtime_error {