def __init__(self): AgentThreadedWithEvents.__init__(self) self.mb_detected=False self.counters={ "mb": 0, "mb_last_advertised":0, "mb_detected_count": 0 } self.events={ "mb_detected": False }
def __init__(self, dbpath, dev_mode=False): AgentThreadedWithEvents.__init__(self) self.current_count=0 self.dbh=DbHelper(dbpath, "ratings_db", self.TABLE_PARAMS)
def __init__(self): AgentThreadedWithEvents.__init__(self)
def __init__(self, dbpath, dev_mode=False): AgentThreadedWithEvents.__init__(self) self.dbh = DbHelper(dbpath, "ratings_cache", self.TABLE_PARAMS) self.mb_detected = False
def __init__(self, dbpath, dev_mode=False): AgentThreadedWithEvents.__init__(self) self.dbh=DbHelper(dbpath, "cache", self.TABLE_PARAMS)