X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fmetaproxy%2Ffilter.hpp;h=5cf79f358aae9ee8b3f32851a3979197619112e6;hb=75eedebe94c90cf8b72499594fa7f5a12f34c192;hp=b42116c8c9dd88fcc3f8a1bd44fafa21c2d13a7a;hpb=50597d2f7d3607e91c94601eb8eb495d73be3eae;p=metaproxy-moved-to-github.git diff --git a/include/metaproxy/filter.hpp b/include/metaproxy/filter.hpp index b42116c..5cf79f3 100644 --- a/include/metaproxy/filter.hpp +++ b/include/metaproxy/filter.hpp @@ -1,5 +1,5 @@ /* 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 @@ -32,15 +32,17 @@ namespace metaproxy_1 { 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 + /// 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 {