X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=etc%2Fconfig1.xml;h=24c7f46e078d036d78c9bc04951062c6a7cf8b97;hb=5356c34ec280253d43e02dfe38b2c0be4e17d79a;hp=b768600812721b1338057e37cb5e125cc466dff8;hpb=1b167662e039b0e029bdfbb4dc9bdffb44735ca2;p=metaproxy-moved-to-github.git
diff --git a/etc/config1.xml b/etc/config1.xml
index b768600..24c7f46 100644
--- a/etc/config1.xml
+++ b/etc/config1.xml
@@ -10,16 +10,19 @@
- 210
+ @: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);
+
+
+
-->