X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=include%2Fmetaproxy%2Ffilter.hpp;h=a3b2115751be9a44dd0915806edf694be12377da;hb=bea71b0778660249cb48e979277341e3a54a192b;hp=b9afe420f1c8547c34301b7715215f03e2c8f055;hpb=4bfec20c393570a81471c644fad6268eed3dba29;p=metaproxy-moved-to-github.git diff --git a/include/metaproxy/filter.hpp b/include/metaproxy/filter.hpp index b9afe42..a3b2115 100644 --- a/include/metaproxy/filter.hpp +++ b/include/metaproxy/filter.hpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2011 Index Data + Copyright (C) 2005-2012 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() const; }; class FilterException : public std::runtime_error {