A single tracker to tracker connection for a single torrent.
Creates a
|
|
__init__(self,
myid,
tracker,
hash,
interval,
peers,
timeout,
rawserver,
disallow,
isdisallowed)
Initialize the instance and schedule a request. |
source code
|
|
boolean
|
|
|
|
|
|
|
refresh(self)
Request new peer data from the tracker. |
source code
|
|
|
|
callback(self)
Process the returned peer data from the tracker. |
source code
|
|
|
|
addtolist(self,
peers)
Save the returned peer data from the tracker for later
processing. |
source code
|
|
|
|
|
list of (string, string,
int)
|
|
boolean
|
active
whether the connection is active
|
boolean
|
busy
not used
|
method
|
disallow
method to call to disallow a tracker address
|
int
|
errors
the number of errors that have occurred since the last successful
request
|
string
|
hash
the info hash of the torrent
|
int
|
interval
original seconds between outgoing tracker announces
|
method
|
isdisallowed
method to call to check if a tracker address is disallowed
|
boolean
|
lastsuccessful
whether the last request was successful
|
list of (string, string,
int)
|
newpeerdata
the list of peer data of peer ID, IP address, and port
|
int
|
operatinginterval
current seconds between outgoing tracker announces
|
list of list of (string,
string, int)
|
peerlists
the last 10 announce peer data of peer ID, IP address, and
port
|
int
|
peers
number of peers to get in a tracker announce
|
|
DebTorrent.RawServer.RawServer
|
rawserver
the server instance to use
|
int
|
rejected
the number of rejections that have occurred since the last
successful request
|
|
Rerequester.Rerequester
|
rerequester
the tracker rerequester instance
|
string
|
tracker
the tracker address to contact
|
boolean
|
trackererror
not used
|