Chapter 9. Classes in the Metaproxy source code

Table of Contents

1. Introductory notes
2. Individual classes
2.1. mp::FactoryFilter (factory_filter.cpp)
2.2. mp::FactoryStatic (factory_static.cpp)
2.3. mp::filter::Base (filter.cpp)
2.4. mp::filter::AuthSimple, Backend_test, etc. (filter_auth_simple.cpp, filter_backend_test.cpp, etc.)
2.5. mp::Package (package.cpp)
2.6. mp::Pipe (pipe.cpp)
2.7. mp::RouterChain (router_chain.cpp)
2.8. mp::RouterFleXML (router_flexml.cpp)
2.9. mp::Session (session.cpp)
2.10. mp::ThreadPoolSocketObserver (thread_pool_observer.cpp)
2.11. mp::util (util.cpp)
2.12. mp::xml (xmlutil.cpp)
3. Other Source Files

1. Introductory notes

Stop! Do not read this! You won't enjoy it at all. You should just skip ahead to Reference, which tells "you things you really need to know, like the fact that the fabulously beautiful planet Bethselamin is now so worried about the cumulative erosion by ten billion visiting tourists a year that any net imbalance between the amount you eat and the amount you excrete whilst on the planet is surgically removed from your bodyweight when you leave: so every time you go to the lavatory it is vitally important to get a receipt." [Douglas Adams]

This chapter contains documentation of the Metaproxy source code, and is of interest only to maintainers and developers. If you need to change Metaproxy's behavior or write a new filter, then you will most likely find this chapter helpful. Otherwise it's a waste of your good time. Seriously: go and watch a film or something. This is Spinal Tap is particularly good.

Still here? OK, let's continue.

In general, classes seem to be named big-endianly, so that FactoryFilter is not a filter that filters factories, but a factory that produces filters; and FactoryStatic is a factory for the statically registered filters (as opposed to those that are dynamically loaded).