libiqxmlrpc  0.12.4
 All Classes Namespaces Files Functions Typedefs Enumerations
Public Member Functions | List of all members
iqxmlrpc::Method_dispatcher_manager Class Reference

Class that encapsulate control of multiple method dispatchers. More...

#include <dispatcher_manager.h>

Inheritance diagram for iqxmlrpc::Method_dispatcher_manager:

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.
 
Methodcreate_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.
 

Detailed Description

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

Member Function Documentation

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.


The documentation for this class was generated from the following files: