예제 #1
0
    def __init__(self, downloadcallback):
        """
        Constructor

        @type  callback: method
        @param callback: user callback
        """
        # call parent constructor
        ProcessTransBaseCallback.__init__(self)

        # set start lock
        self.__downloadCallback = downloadcallback
예제 #2
0
 def event(self, state, data=None):
     ProcessTransBaseCallback.event(self, state, data)
예제 #3
0
파일: callback.py 프로젝트: baowenbo/fedup
 def event(self, state, data=None):
     ProcessTransBaseCallback.event(self, state, data)
예제 #4
0
 def __init__(self):
     ProcessTransBaseCallback.__init__(self)
     self.logger = logging.getLogger(__package__ + ".download")
예제 #5
0
파일: callback.py 프로젝트: baowenbo/fedup
 def __init__(self):
     ProcessTransBaseCallback.__init__(self)
     self.logger = logging.getLogger(__package__ + ".download")