Exemplo n.º 1
0
 def __init__(self, msgh, mgrq, myname, config):
     CalcWorker.__init__(self, msgh, mgrq, myname, config)
     self.report_intvl = 4
     self.report_threshold = 50
     #self.eh.register_timer(self.report_intvl * 1000,
     #                       TMTAGS.SEND_REPORT, True)
     self.stat_user = StatUser(self.config['start'], self.config['end'])
Exemplo n.º 2
0
 def __init__(self, msgh, mgrq, myname, config):
     CalcWorker.__init__(self, msgh, mgrq, myname, config)
     self.report_intvl = 4
     self.report_threshold = 50
     #self.eh.register_timer(self.report_intvl * 1000,
     #                       TMTAGS.SEND_REPORT, True)
     self.stat_user = StatUser(self.config['start'], self.config['end'])
Exemplo n.º 3
0
 def __init__(self, msgh, mgrq, myname, config):
     CalcWorker.__init__(self, msgh, mgrq, myname, config)
     self.report_intvl = 10
     self.user_repo = {}
     self.eh.register_timer(self.report_intvl * 1000, TMTAGS.SEND_REPORT,
                            True)
Exemplo n.º 4
0
 def __init__(self, msgh, mgrq, myname, config):
     CalcWorker.__init__(self, msgh, mgrq, myname, config)
     self.report_intvl = 10
     self.eh.register_timer(self.report_intvl * 1000,
                            TMTAGS.SEND_REPORT, True)
     self.data = {}
Exemplo n.º 5
0
 def __init__(self, msgh, mgrq, myname, config):
     CalcWorker.__init__(self, msgh, mgrq, myname, config)
     self.report_intvl = 4
     self.report_threshold = 50
     self.stat_user = StatUser(self.config['start'], self.config['end'])
Exemplo n.º 6
0
 def __init__(self, msgh, mgrq, myname, config):
     CalcWorker.__init__(self, msgh, mgrq, myname, config)
     self.report_intvl = 4
     self.report_threshold= 100
     self.report_counter = 0
     self.stat_user = StatUser(self.config['start'], self.config['end'])