From Fedora Project Wiki
(Created page with 'For the xmlrpc part: The server.py defines the [1]class XmlRpcInterface() ----- 1) def _setpu_handlers 2) def list_modules 3) def list_methods 4) def inventory 5) def get_...') |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
[1]class XmlRpcInterface() | [1]class XmlRpcInterface() | ||
----- | ----- | ||
#def _setpu_handlers | |||
#def list_modules | |||
#def list_methods | |||
#def inventory | |||
#def get_dispatch_method | |||
[2]FuncApiMethod | [2]FuncApiMethod | ||
#def __log_exc (Log an exception) | |||
#def __call__ () | |||
#def serve() (code for starting the XMLRPC service) | |||
Line 20: | Line 20: | ||
[4]FuncSSLXMLRPCServer * | [4]FuncSSLXMLRPCServer * | ||
#def __init__ | |||
#def _dispatch(self,method,params): | |||
#def auth_cb | |||
#def excepthook | |||
#def main(argv) | |||
Line 33: | Line 33: | ||
protocol_version = "HTTP/1.1" | protocol_version = "HTTP/1.1" | ||
#def setup(self) | |||
#def do_POST(self) | |||
[2]class BaseAuthedXMLRPCServer | [2]class BaseAuthedXMLRPCServer | ||
#def __init__ | |||
#def get_authinfo | |||
[3]class AuthedSSLXMLRPCServer | [3]class AuthedSSLXMLRPCServer | ||
[4]class AuthedXMLRPCServer | [4]class AuthedXMLRPCServer |
Latest revision as of 03:02, 21 May 2010
For the xmlrpc part:
The server.py defines the [1]class XmlRpcInterface()
- def _setpu_handlers
- def list_modules
- def list_methods
- def inventory
- def get_dispatch_method
[2]FuncApiMethod
- def __log_exc (Log an exception)
- def __call__ ()
- def serve() (code for starting the XMLRPC service)
[3]FuncXMLRPCServer
[4]FuncSSLXMLRPCServer *
- def __init__
- def _dispatch(self,method,params):
- def auth_cb
- def excepthook
- def main(argv)
The AuthedXMLRPCServer.py defines
[1]class AuthedSimpleXMLRPCRequestHandler protocol_version = "HTTP/1.1"
- def setup(self)
- def do_POST(self)
[2]class BaseAuthedXMLRPCServer
- def __init__
- def get_authinfo
[3]class AuthedSSLXMLRPCServer
[4]class AuthedXMLRPCServer