kget
bt::SingleDataChecker Class Reference
#include <singledatachecker.h>
Inheritance diagram for bt::SingleDataChecker:

Detailed Description
Data checker for single file torrents.
Definition at line 33 of file singledatachecker.h.
Public Member Functions | |
| virtual void | check (const QString &path, const Torrent &tor, const QString &dnddir, const BitSet &status) |
| SingleDataChecker () | |
| virtual | ~SingleDataChecker () |
Constructor & Destructor Documentation
| bt::SingleDataChecker::SingleDataChecker | ( | ) |
Definition at line 33 of file singledatachecker.cpp.
| bt::SingleDataChecker::~SingleDataChecker | ( | ) | [virtual] |
Definition at line 37 of file singledatachecker.cpp.
Member Function Documentation
| void bt::SingleDataChecker::check | ( | const QString & | path, | |
| const Torrent & | tor, | |||
| const QString & | dnddir, | |||
| const BitSet & | status | |||
| ) | [virtual] |
Check to see which chunks have been downloaded of a torrent, and which chunks fail.
The corresponding bitsets should be filled with this information. If anything goes wrong and Error should be thrown.
- Parameters:
-
path path to the file or dir (this needs to end with the name suggestion of the torrent) tor The torrent dnddir DND dir, optional argument if we know this status Current status of the torrent
Implements bt::DataChecker.
Definition at line 41 of file singledatachecker.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference