- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (38)
- 2_2_9 (0)
- 2_4_6
- 2_5_5
- 2_6_3
- What's this?
This is the base class for all XML-RPC server-types (CGI, standalone). You can add handler and set a default handler. Do not use this server, as this is/should be an abstract class.
How the method to call is found
The arity (number of accepted arguments) of a handler (method or Proc object) is compared to the given arguments submitted by the client for a RPC, or Remote Procedure Call.
A handler is only called if it accepts the number of arguments, otherwise the search for another handler will go on. When at the end no handler was found, the default_handler, XMLRPC::BasicServer#set_default_handler will be called.
With this technique it is possible to do overloading by number of parameters, but only for Proc handler, because you cannot define two methods of the same name in the same class.
Constants
ERR_MC_EXPECTED_STRUCT = 8
ERR_MC_WRONG_PARAM_PARAMS = 7
ERR_MC_RECURSIVE_CALL = 6
ERR_MC_MISSING_METHNAME = 5
ERR_MC_MISSING_PARAMS = 4
ERR_MC_WRONG_PARAM = 3
ERR_UNCAUGHT_EXCEPTION = 2
ERR_METHOD_MISSING = 1