|
|
|
int
|
|
|
|
disconnected(self)
Remove the newly disconnected peer. |
source code
|
|
|
|
|
|
|
got_choke(self)
Update the choked status and remove any active requests. |
source code
|
|
|
|
got_unchoke(self)
Update the choked status and request any needed pieces. |
source code
|
|
boolean
|
|
boolean
|
|
|
|
send_interested(self)
Send the interested message to the peer. |
source code
|
|
|
|
send_not_interested(self)
Send the not interested message to the peer. |
source code
|
|
boolean
|
|
|
|
|
|
|
|
boolean
|
|
|
|
_check_interests(self)
Check if the peer is now interesting. |
source code
|
|
boolean
|
|
float
|
|
boolean
|
|
list of (int, int,
int)
|
active_requests
the requests that have been sent, the piece, offset within the
piece, and the length of the request
|
int
|
backlog
the current backlog of chunk requests
|
boolean
|
choked
whether the peer is choking the download
|
|
Connecter.Connection
|
connection
the connection to the peer
|
|
Downloader
|
downloader
the Downloader instance
|
int
|
example_interest
an example piece to request
|
|
BadDataGuard
|
guard
the guard to use to process pieces
|
|
DebTorrent.bitfield.Bitfield
|
have
the bitfield the peer has
|
boolean
|
interested
whether the peer is interesting
|
string
|
ip
the IP address of the peer
|
float
|
last
the last time a chunk was received from the peer
|
float
|
last2
the last time a chunk or an unchoke was received
|
|
DebTorrent.CurrentRateMeasure.Measure
|
measure
for measuring the download rate from the peer
|
|
DebTorrent.CurrentRateMeasure.Measure
|
peermeasure
for measuring the download rate of the peer
|