X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=etc%2Fconfig1.xml;h=e828908946a1f4331e828dc6c1feaa1d7e703900;hb=e365a721de86f7813dd92d6042d5ca152aabbefc;hp=b768600812721b1338057e37cb5e125cc466dff8;hpb=1b167662e039b0e029bdfbb4dc9bdffb44735ca2;p=metaproxy-moved-to-github.git
diff --git a/etc/config1.xml b/etc/config1.xml
index b768600..e828908 100644
--- a/etc/config1.xml
+++ b/etc/config1.xml
@@ -12,14 +12,17 @@
210
-
- mylog.log
+
+ out.log
+
+
+ std::cerr
-
+
@@ -29,6 +32,8 @@
+
+
mylog.log
@@ -66,6 +71,42 @@
request-type Init,Search,HTTP,...
origin IP of origin
port Port
+
+
+mother object filter-dom-hash
+ deletes pointers to contexts and filters on program exit
+hash filter-type -> hash-filter-id -> Context
+ -> filter-binary-pointer
+
+moher object router pointer hash
+
+created in mother thread, read only structures.
+
+Context* filter.configure(dom );
+
+
+
+process(Context con)
+
+where each filter can have is own context class
+
+yp2::filter::Log::Context : public Context
+
+
+Filters are constructed with a FilterFactory class which exposes a
+method
+
+Filter* createFilter(std::string type)
+
+ .. which returns a filter
+instance. (The interface pointer that is). The FilterFactory may later
+offer function
+ loadModule(std::string filename);
+or even
+ loadModules(std::string filenamemask);
+
+
+
-->