Interface for classes who want to monitor a TorrentInterface.
More...
#include <monitorinterface.h>
- Author
- Joris Guisson 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 56 of file monitorinterface.h.
◆ destroyed()
virtual void bt::MonitorInterface::destroyed |
( |
| ) |
|
|
pure virtual |
The download has been deleted.
◆ downloadRemoved()
The download of a chunk has been stopped.
- Parameters
-
◆ downloadStarted()
The download of a chunk has been started.
- Parameters
-
◆ filePercentageChanged()
virtual void bt::MonitorInterface::filePercentageChanged |
( |
TorrentFileInterface * |
file, |
|
|
float |
percentage |
|
) |
| |
|
pure virtual |
The download percentage of a file has changed.
- Parameters
-
file | The file |
percentage | The percentage |
◆ filePreviewChanged()
Preview status of a file has changed.
- Parameters
-
file | The file |
preview | Whether or not it is available |
◆ peerAdded()
virtual void bt::MonitorInterface::peerAdded |
( |
PeerInterface * |
peer | ) |
|
|
pure virtual |
A peer has been added.
- Parameters
-
◆ peerRemoved()
virtual void bt::MonitorInterface::peerRemoved |
( |
PeerInterface * |
peer | ) |
|
|
pure virtual |
A peer has been removed.
- Parameters
-
◆ stopped()
virtual void bt::MonitorInterface::stopped |
( |
| ) |
|
|
pure virtual |
The download has been stopped.
The documentation for this class was generated from the following file: