Example #1
0
 def __init__(self):
     Buff.__init__(self)
     self.ticks = 0.0
     self.count = 0
     self.message = six.b('')
     self.auth = six.b('')
     self.state = {}
     self.snap_ticks = 0.0
     self.snap_count = 0
     self.snap_utime = 0.0
     self.snap_stime = 0.0
     self.web100_dirname = six.u('')
Example #2
0
 def __init__(self, state):
     Buff.__init__(self)
     self.ticks = 0.0
     self.count = 0
     self.left = 0
     self.snap_ticks = 0.0
     self.snap_count = 0
     self.snap_utime = 0.0
     self.snap_stime = 0.0
     self.state = state
     self.alrtt_ticks = 0.0
     self.alrtt_cnt = 10