get_service_hook

get_service_hook() Instance Public methods Returns the service-hook, which is called on each service request (RPC) unless it's nil.

get_default_handler

get_default_handler() Instance Public methods Returns the default-handler, which is called when no handler for a method-name is found. It is either a Proc object or nil.

add_multicall

add_multicall() Instance Public methods Adds the multi-call handler "system.multicall".

add_introspection

add_introspection() Instance Public methods Adds the introspection handlers "system.listMethods", "system.methodSignature" and "system.methodHelp", where only the first one works.

add_handler

add_handler(prefix, obj_or_signature=nil, help=nil, &block) Instance Public methods Adds aBlock to the list of handlers, with name as the name of the method. Parameters signature and help are used by the Introspection method if specified, where signature is either an Array containing strings each representing a type of it's signature (the first is the return value) or an Array of Arrays if the method has multiple signatures. Value type-names are âint, boolean, double, string, T

new

new(class_delim=".") Class Public methods Creates a new XMLRPC::BasicServer instance, which should not be done, because XMLRPC::BasicServer is an abstract class. This method should be called from a subclass indirectly by a super call in the initialize method. The paramter class_delim is used by #add_handler, see #add_handler, when an object is added as a handler, to delimit the object-prefix and the method-name.

encoded

encoded() Instance Public methods Returns the base64 encoded internal string.

decoded

decoded() Instance Public methods Returns the decoded internal string.

new

new(str, state = :dec) Class Public methods Creates a new XMLRPC::Base64 instance with string str as the internal string. When state is :dec it assumes that the string str is not in base64 format (perhaps already decoded), otherwise if state is :enc it decodes str and stores it as the internal string.

encode

encode(str) Class Public methods Encodes string str with base64 and returns that value.