def __init__(self, threadHndl = svrBase.getUuid(), clientId = "http://127.0.0.1:8898/xmlrpc", paramDict = {}): ''' threadHndl should be identical for thread, it is to say that one thread will have 1 callba ''' super(xmlRpcNotifier, self).__init__(threadHndl, clientId) self.paramDict["callbackServerUrl"] = clientId self.firstServerUrl = clientId
def __init__(self, threadHndl = threadSvrBase.getUuid(), clientId = threadSvrBase.getUuid(), paramDict = {}): super(sampleThread, self).__init__(threadHndl, clientId, paramDict)