def __init__(self): Brigade.__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('')
def __init__(self, state): Brigade.__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
def __init__(self, extra, connection_made, connection_lost): Brigade.__init__(self) self.outq = [] self.outfp = None self.method = EMPTY_STRING self.protocol = EMPTY_STRING self.code = EMPTY_STRING self.reason = EMPTY_STRING self.headers = {} self.last_hdr = EMPTY_STRING self.body = None self.handle_piece = None self.handle_line = None self.left = 0 self.extra = extra self.connection_made = connection_made self.connection_lost = connection_lost