|
libktorrent
2.1.1
|
#include <uploader.h>

Public Slots | |
| void | update () |
Public Member Functions | |
| Uploader (ChunkManager &cman, PeerManager &pman) | |
| Uint64 | bytesUploaded () const |
| Get the number of bytes uploaded. | |
| void | setBytesUploaded (Uint64 b) |
| Set the number of bytes which have been uploaded. | |
| Uint32 | uploadRate () const |
| Get the upload rate of all Peers combined. | |
Class which manages the uploading of data. It has a PeerUploader for each Peer.
Definition at line 56 of file uploader.h.
| bt::Uploader::Uploader | ( | ChunkManager & | cman, |
| PeerManager & | pman | ||
| ) |
Constructor, sets the ChunkManager.
| cman | The ChunkManager |
|
slot |
Update every PeerUploader.
1.8.18