4 #ifndef _iqxmlrpc_server_h_
5 #define _iqxmlrpc_server_h_
9 #include "connection.h"
10 #include "conn_factory.h"
11 #include "dispatcher_manager.h"
20 class Reactor_interrupter;
25 class Auth_Plugin_base;
29 #pragma warning(disable: 4251)
30 #pragma warning(disable: 4275)
34 class LIBIQXMLRPC_API
Server: boost::noncopyable {
58 void enable_introspection();
61 void log_errors( std::ostream* );
64 void set_max_request_sz(
size_t );
65 size_t get_max_request_sz()
const;
93 void log_err_msg(
const std::string& );
108 template <
class Method_
class>
118 inline void LIBIQXMLRPC_API
HTTP Authentication plugin.
Definition: auth_plugin.h:14
XML-RPC response.
Definition: response.h:28
HTTP packet: Header + Content.
Definition: http.h:146
void register_method(const std::string &name, Method_factory_base *)
Register method using abstract factory.
Definition: server.cc:75
void register_method(Server &server, const std::string &name)
Register class Method_class as handler for call "name" with specific server.
Definition: server.h:109
Abstract base for Executor's factories.
Definition: executor.h:78
Object-oriented networking/multithreading infrastructure.
Definition: acceptor.h:11
void(* Method_function)(Method *, const Param_list &, Value &)
Type of pointer to function that can be used as server method.
Definition: method.h:28
An object representation of internet address.
Definition: inet_addr.h:27
Template for simple Method factory.
Definition: method.h:164
XML-RPC server.
Definition: server.h:34
Abstract factory for accepted connections.
Definition: conn_factory.h:13
Abstract executor class. Defines the policy for method execution.
Definition: executor.h:53
Base class for XML-RPC server connections.
Definition: server_conn.h:26
XML-RPC library.
Definition: auth_plugin.cc:6
Specialization for funciton adapters.
Definition: method.h:172
Interceptor's base class.
Definition: method.h:99
Method dispatcher base class.
Definition: method.h:185
Verification_level
The level of HTTP sanity checks.
Definition: http.h:28
Firewall base class.
Definition: firewall.h:13
Abstract factory for Method.
Definition: method.h:154