Class that encapsulate control of multiple method dispatchers. More...
#include <dispatcher_manager.h>
Public Member Functions | |
void | register_method (const std::string &name, Method_factory_base *) |
Registers method factory in default method dispatcher. | |
void | push_back (Method_dispatcher_base *) |
Add dispatcher at the end of dispatchers list. Grabs ownership. | |
Method * | create_method (const Method::Data &) |
Create method. More... | |
void | get_methods_list (Array &) const |
Return list of methods provided by all registered dispatchers. | |
void | enable_introspection () |
Turns on introspection. | |
Class that encapsulate control of multiple method dispatchers.
It also provides default method dispatcher that support usual register_method operation and optionally system one, which holds server's built-in methods
Method * iqxmlrpc::Method_dispatcher_manager::create_method | ( | const Method::Data & | mdata | ) |
Create method.
It calls each registered method dispatcher in the same order as they registered. First non-zero result will be returned.