projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use YAZ backtrace facility MP-582
[metaproxy-moved-to-github.git]
/
include
/
metaproxy
/
filter.hpp
diff --git
a/include/metaproxy/filter.hpp
b/include/metaproxy/filter.hpp
index
0fbd019
..
5cf79f3
100644
(file)
--- a/
include/metaproxy/filter.hpp
+++ b/
include/metaproxy/filter.hpp
@@
-1,5
+1,5
@@
/* This file is part of Metaproxy.
/* 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
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,14
+32,17
@@
namespace metaproxy_1 {
class Base {
public:
virtual ~Base(){};
class Base {
public:
virtual ~Base(){};
-
+
///sends Package off to next Filter, returns altered Package
virtual void process(Package & package) const = 0;
///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 start() const;
+
+ virtual void stop(int signo) const;
};
class FilterException : public std::runtime_error {
};
class FilterException : public std::runtime_error {