libktorrent
2.2.0
|
Interface for classes who want to monitor a TorrentInterface. More...
#include <monitorinterface.h>
Public Member Functions | |
virtual void | destroyed ()=0 |
virtual void | downloadRemoved (ChunkDownloadInterface *cd)=0 |
virtual void | downloadStarted (ChunkDownloadInterface *cd)=0 |
virtual void | filePercentageChanged (TorrentFileInterface *file, float percentage)=0 |
virtual void | filePreviewChanged (TorrentFileInterface *file, bool preview)=0 |
virtual void | peerAdded (PeerInterface *peer)=0 |
virtual void | peerRemoved (PeerInterface *peer)=0 |
virtual void | stopped ()=0 |
Classes who want to keep track of all peers currently connected for a given torrent and all chunks who are currently downloading can implement this interface.
Definition at line 38 of file monitorinterface.h.
|
pure virtual |
The download has been deleted.
|
pure virtual |
The download of a chunk has been stopped.
cd | The ChunkDownload |
|
pure virtual |
The download of a chunk has been started.
cd | The ChunkDownload |
|
pure virtual |
The download percentage of a file has changed.
file | The file |
percentage | The percentage |
|
pure virtual |
Preview status of a file has changed.
file | The file |
preview | Whether or not it is available |
|
pure virtual |
A peer has been added.
peer | The peer |
|
pure virtual |
A peer has been removed.
peer | The peer |
|
pure virtual |
The download has been stopped.