def __init__(self, downloadcallback): """ Constructor @type callback: method @param callback: user callback """ # call parent constructor ProcessTransBaseCallback.__init__(self) # set start lock self.__downloadCallback = downloadcallback
def event(self, state, data=None): ProcessTransBaseCallback.event(self, state, data)
def __init__(self): ProcessTransBaseCallback.__init__(self) self.logger = logging.getLogger(__package__ + ".download")