Peer

Peer

The Peer Model.

It took me some time to figure out what was initially wrong with the peer multicall - http://libtorrent.rakshasa.no/ticket/1308. If only rtorrent had been documented a little better.

class peer.Peer(target)[source]

Peer class.

get_address(*args)
Returns the IP address of the peer.

Original libTorrent method: p.get_address

get_client_version(*args)
Returns the client version string of the peer.

Original libTorrent method: p.get_client_version

get_completed_percent(*args)
Returns the completed percent of the peer.

Original libTorrent method: p.get_completed_percent

get_download_rate(*args)
Returns the download rate of the peer.

Original libTorrent method: p.get_down_rate

get_download_total(*args)
Returns the download total of the peer.

Original libTorrent method: p.get_down_total

get_id(*args)
Returns the ID of the peer.

Original libTorrent method: p.get_id

get_port(*args)
Returns the port of the peer.

Original libTorrent method: p.get_port

get_rate(*args)

Original libTorrent method: p.get_peer_rate

get_total(*args)

Original libTorrent method: p.get_peer_total

get_upload_rate(*args)
Returns the upload rate of the peer.

Original libTorrent method: p.get_up_rate

get_upload_total(*args)
Returns the upload total of the peer.

Original libTorrent method: p.get_up_total

is_encrypted(*args)
Returns if the peer is encrypted.

Original libTorrent method: p.is_encrypted

is_incoming(*args)
Returns if the peer is an incoming peer.

Original libTorrent method: p.is_incoming

is_obfuscated(*args)
Returns if the client is obfuscated.

Original libTorrent method: p.is_obfuscated

is_snubbed(*args)

Original libTorrent method: p.is_snubbed

Table Of Contents

Previous topic

Torrent Model

Next topic

BaseRequester

This Page