def methodCall(self, objname, methodname, args):
        'run the named method on the named object and return its result'
        try:
            obj = self.objDict[objname]
            if methodname in obj.xmlrpc_methods:
                m = getattr(obj, methodname)
            else:
                print >>sys.stderr, \
                      "methodCall: blocked unregistered method %s" % methodname
                return ''
        except (__HOLE__, AttributeError):
            return '' # RETURN FAILURE CODE
        return m(*args) # RUN THE OBJECT METHOD
dataset/ETHPy150Open cjlee112/pygr/pygr/coordinator.py/XMLRPCServerBase.methodCall