MCPcopy
hub / github.com/pyload/pyload / __init__

Method __init__

module/network/XDCCRequest.py:32–49  ·  view source on GitHub ↗
(self, bucket=None, options={})

Source from the content-addressed store, hash-verified

30
31class XDCCRequest:
32 def __init__(self, bucket=None, options={}):
33 self.proxies = options.get('proxies', {})
34 self.bucket = bucket
35
36 self.fh = None
37 self.dccsock = None
38
39 self.filesize = 0
40 self.received = 0
41 self.speeds = [0.0, 0.0, 0.0]
42
43 self.sleep = 0.000
44 self.last_recv_size = 0
45 self.send_64bits_ack = False
46
47 self.abort = False
48
49 self.status_notify = None
50
51 def createSocket(self):
52 # proxytype = None

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected