|
libktorrent
2.1.1
|
Public Member Functions | |
| bool | overMaxRatio () const |
| Are we over the max share ratio. | |
| float | shareRatio () const |
| Calculate the share ratio. | |
| QString | statusToString () const |
| Convert the status into a human readable string. | |
Public Attributes | |
| bool | auto_stopped |
| Set to true if torrent was stopped due to reaching max share ration or max seed time. | |
| bool | autostart |
| See if we are allowed to startup this torrent automatically. | |
| Uint64 | bytes_downloaded |
| Total number of bytes downloaded. | |
| Uint64 | bytes_left |
| The number of bytes left (gets sent to the tracker) | |
| Uint64 | bytes_left_to_download |
| The number of bytes left to download (bytes_left - excluded bytes) | |
| Uint64 | bytes_uploaded |
| Total number of bytes uploaded. | |
| Uint32 | chunk_size |
| Size of each chunk. | |
| bool | completed |
| See if the download is completed. | |
| Uint32 | download_rate |
| The download rate in bytes per sec. | |
| QString | error_msg |
| Error message for the user. | |
| Uint64 | imported_bytes |
| The number of bytes imported (igore these for average speed) | |
| TimeStamp | last_download_activity_time |
| TimeStamp when we last saw download activity. | |
| TimeStamp | last_upload_activity_time |
| TimeStamp when we last saw upload activity. | |
| Uint32 | leechers_connected_to |
| Num leechers connected to. | |
| Uint32 | leechers_total |
| Total leechers in swarm. | |
| float | max_seed_time |
| Maximum seed time in hours. | |
| float | max_share_ratio |
| Maximum share ratio. | |
| bool | multi_file_torrent |
| See if we have a multi file torrent. | |
| Uint32 | num_chunks_downloaded |
| The number of chunks which have been downloaded. | |
| Uint32 | num_chunks_downloading |
| The number of chunks we are currently downloading. | |
| Uint32 | num_chunks_excluded |
| Get the number of chunks which have been excluded. | |
| Uint32 | num_chunks_left |
| Get the number of chunks left. | |
| Uint32 | num_corrupted_chunks |
| Number of corrupted chunks found since the last check. | |
| Uint32 | num_peers |
| The number of peers we are connected to. | |
| QString | output_path |
| Path of the dir or file where the data will get saved. | |
| bool | paused |
| See if this torrent is paused. | |
| bool | priv_torrent |
| Private torrent (i.e. no use of DHT) | |
| bool | qm_can_start |
| Whether or not the QM can start this torrent. | |
| bool | queued |
| Whether or not the torrent is queued. | |
| bool | running |
| See if we are running. | |
| Uint32 | seeders_connected_to |
| Num seeders connected to. | |
| Uint32 | seeders_total |
| Total seeders in swarm. | |
| Uint64 | session_bytes_downloaded |
| The number of bytes downloaded in this session. | |
| Uint64 | session_bytes_uploaded |
| The number of bytes uploaded in this session. | |
| bool | started |
| See if the torrent has been started. | |
| TorrentStatus | status |
| Status of the download. | |
| bool | stopped_by_error |
| See if the torrent is stopped by error. | |
| bool | superseeding |
| Set to true if superseeding is enabled. | |
| QDateTime | time_added |
| QDateTime when the torrent was added. | |
| QString | torrent_name |
| Name of the torrent. | |
| Uint64 | total_bytes |
| total number of bytes in torrent | |
| Uint64 | total_bytes_to_download |
| The total number of bytes which need to be downloaded. | |
| Uint32 | total_chunks |
| The total number of chunks. | |
| Uint32 | upload_rate |
| The upload rate in bytes per sec. | |
Definition at line 72 of file torrentstats.h.
1.8.18