• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ruby-106/ruby/lib/xmlrpc/

Lines Matching +refs:XMLRPC +refs:create

7 require "xmlrpc/create"
13 module XMLRPC # :nodoc:
27 # found, the default_handler, XMLRPC::BasicServer#set_default_handler will be
48 # Creates a new XMLRPC::BasicServer instance, which should not be
49 # done, because XMLRPC::BasicServer is an abstract class. This
54 # XMLRPC::BasicServer#add_handler, when an object is added as a handler, to
62 @create = nil
83 # XMLRPC::FaultException like in this example:
87 # raise XMLRPC::FaultException.new(1, "division by zero")
94 # XMLRPC::FaultException that has a +faultCode+ and +faultString+ field.
96 # This is the second form of ((<add_handler|XMLRPC::BasicServer#add_handler>)).
103 # where the +class_delim+ in XMLRPC::BasicServer.new plays it's role, a
107 # The third form of +add_handler is to use XMLRPC::Service::Interface to
111 # The +interface+ parameter must be an instance of XMLRPC::Service::Interface.
124 elsif prefix.kind_of? XMLRPC::Service::BasicInterface
144 # exceptions of them or convert values to values recognized by XMLRPC.
183 # If no block is specified the default of XMLRPC::BasicServer is
184 # used, which raises a XMLRPC::FaultException saying "method missing".
194 raise XMLRPC::FaultException.new(ERR_MC_WRONG_PARAM, "system.multicall expects an array")
314 raise XMLRPC::FaultException.new(ERR_METHOD_MISSING, "Method #{methodname} missing or wrong number of parameters!")
337 rescue XMLRPC::FaultException => e
340 [false, XMLRPC::FaultException.new(ERR_UNCAUGHT_EXCEPTION, "Uncaught exception #{e.message} in method #{methodname}")]
345 create().methodResponse(*call_method(methodname, *args))
356 # s = XMLRPC::CGIServer.new
364 # raise XMLRPC::FaultException.new(1, "division by zero")
371 # raise XMLRPC::FaultException.new(-99, "Method #{name} missing" +
384 # Creates a new XMLRPC::CGIServer instance.
386 # All parameters given are by-passed to XMLRPC::BasicServer.new.
388 # You can only create <b>one</b> XMLRPC::CGIServer instance, because more
460 # Use it in the same way as XMLRPC::CGIServer!
463 # Creates a new XMLRPC::ModRubyServer instance.
465 # All parameters given are by-passed to XMLRPC::BasicServer.new.
536 # Implements a standalone XML-RPC server. The method XMLRPC::Server#serve is
541 # s = XMLRPC::Server.new(8080)
549 # raise XMLRPC::FaultException.new(1, "division by zero")
556 # raise XMLRPC::FaultException.new(-99, "Method #{name} missing" +
563 # Creates a new XMLRPC::Server instance, which is a XML-RPC server
568 # XMLRPC::Server#serve.
573 # XMLRPC::BasicServer.new.
605 # s = XMLRPC::WEBrickServlet.new
612 # raise XMLRPC::FaultException.new(1, "division by zero")
619 # raise XMLRPC::FaultException.new(-99, "Method #{name} missing" +
657 # See also, XMLRPC::Server#set_valid_ip
700 end # module XMLRPC