Package rpcServices :: Module masterTwisted :: Class XMLRPCMaster
[show private | hide private]
[frames | no frames]

Type XMLRPCMaster

  object --+    
           |    
  MasterBase --+
               |
Resource --+   |
           |   |
      XMLRPC --+
               |
              XMLRPCMaster


rpcServices master server based on twisted framework
Method Summary
  __init__(self)
const.
  registerFunction(self, func, name)
register function to the xmlrpc server
  xmlrpc_ping(self)
remote ping
    Inherited from XMLRPC
  getSubHandler(self, prefix)
  getSubHandlerPrefixes(self)
  putSubHandler(self, prefix, handler)
  render(self, request)
Render a given resource.
  _cbRender(self, result, request)
  _ebRender(self, failure)
  _getFunction(self, functionPath)
Given a string, return a function, or raise NoSuchFunction.
  _listFunctions(self)
Return a list of the names of all xmlrpc methods.
    Inherited from Resource
  delEntity(self, name)
  getChild(self, path, request)
Retrieve a 'child' resource from me.
  getChildForRequest(self, request)
  getChildWithDefault(self, path, request)
Retrieve a static or dynamically generated child resource from me.
  getDynamicEntity(self, name, request)
  getStaticEntity(self, name)
  listDynamicEntities(self, request)
  listDynamicNames(self)
  listEntities(self)
  listNames(self)
  listStaticEntities(self)
  listStaticNames(self)
  putChild(self, path, child)
Register a static child.
  reallyPutEntity(self, name, entity)
  render_HEAD(self, request)
Default handling of HEAD method.
    Inherited from MasterBase
  addService(self, name, module)
add service module to the server
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
    Inherited from XMLRPC
int FAILURE = 8002                                                                  
int isLeaf = 1                                                                     
int NOT_FOUND = 8001                                                                  
str separator = '.'
    Inherited from Resource
Implements __implemented__ = <implementedBy twisted.web.resource.Re...
_implementsTuple __implements__ = (<MetaInterface twisted.web.resource.IR...
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
MetaInterface entityType = <MetaInterface twisted.web.resource.IResour...
NoneType server = None                                                                  

Method Details

__init__(self)
(Constructor)

const.
Overrides:
twisted.web.xmlrpc.XMLRPC.__init__

registerFunction(self, func, name)

register function to the xmlrpc server
Overrides:
rpcServices.core.MasterBase.registerFunction

xmlrpc_ping(self)

remote ping

Generated by Epydoc 2.1 on Sun Jan 8 23:45:28 2006 http://epydoc.sf.net