|
libktorrent
2.1.1
|
Public Member Functions | |
| QString | address () const |
| Get the address of the peer (hostname if it is valid, IP otherwise) | |
Public Attributes | |
| double | aca_score |
| Advanced choke algorithm score. | |
| bool | am_interested |
| Am I interested in the peer. | |
| bt::Uint64 | bytes_downloaded |
| Amount of data downloaded. | |
| bt::Uint64 | bytes_uploaded |
| Amount of data uploaded. | |
| bool | choked |
| Choked or not. | |
| QString | client |
| The client (Azureus, BitComet, ...) | |
| bool | dht_support |
| Does this peer support DHT. | |
| bt::Uint32 | download_rate |
| Download rate (bytes/s) | |
| bool | encrypted |
| Whether or not this connection is encrypted. | |
| bool | extension_protocol |
| Whether or not the peer supports the extension protocol. | |
| bool | fast_extensions |
| Supports the fast extensions. | |
| bool | has_upload_slot |
| Flag to indicate if this peer has an upload slot. | |
| QString | hostname |
| Host name of the peer. | |
| bool | interested |
| Is the peer interested. | |
| QString | ip_address |
| IP address of peer (dotted notation) | |
| bool | local |
| Is this a peer on the local network. | |
| bt::Uint32 | max_request_queue |
| Max number of outstanding requests (reqq in extended protocol handshake) | |
| bt::Uint32 | num_down_requests |
| Number of outstanding download requests queued. | |
| bt::Uint32 | num_up_requests |
| Number of upload requests queued. | |
| bool | partial_seed |
| Is this a partial seed. | |
| float | perc_of_file |
| Percentage of file which the peer has. | |
| bool | snubbed |
| Snubbed or not (i.e. we haven't received a piece for a minute) | |
| TimeStamp | time_choked |
| Time the peer choked us. | |
| TimeStamp | time_unchoked |
| Time the peer unchoked us. | |
| bt::TransportProtocol | transport_protocol |
| The transport protocol used by the peer. | |
| bt::Uint32 | upload_rate |
| Upload rate (bytes/s) | |
Definition at line 86 of file peerinterface.h.
1.8.18