def __init__(self, logger = LoggerUtil.getFileLogger()): BaseExecuter.__init__(self, logger) self.connection = ParseConnection() self.track = [] self.follow = [] self.twitterIdInfo = {} self.hashtagAlbumIdMap = {} self.running = threading.Event() self.thread = threading.Thread(target = self.main)
def __init__(self, minutes, isDaemon=False, logger=LoggerUtil.getFileLogger()): BaseExecuter.__init__(self, logger) self.minutes = int(minutes) self.thread = threading.Thread(name=self.__class__.__name__, target=self.proc) self.thread.setDaemon(isDaemon)
def __init__(self, connection, logger=LoggerUtil.getFileLogger()): self.connection = connection self.logger = logger
def __init__(self, logger=LoggerUtil.getFileLogger()): self.logger = logger
def __init__(self, connection, logger=LoggerUtil.getFileLogger()): self.logger = logger self.connection = connection self.className = self.getClassName()