kget
bt::AdvancedChokeAlgorithm Class Reference
#include <advancedchokealgorithm.h>
Inheritance diagram for bt::AdvancedChokeAlgorithm:

Detailed Description
Definition at line 35 of file advancedchokealgorithm.h.
Public Member Functions | |
| AdvancedChokeAlgorithm () | |
| virtual void | doChokingLeechingState (PeerManager &pman, ChunkManager &cman, const TorrentStats &stats) |
| virtual void | doChokingSeedingState (PeerManager &pman, ChunkManager &cman, const TorrentStats &stats) |
| virtual | ~AdvancedChokeAlgorithm () |
Constructor & Destructor Documentation
| bt::AdvancedChokeAlgorithm::AdvancedChokeAlgorithm | ( | ) |
Definition at line 40 of file advancedchokealgorithm.cpp.
| bt::AdvancedChokeAlgorithm::~AdvancedChokeAlgorithm | ( | ) | [virtual] |
Definition at line 47 of file advancedchokealgorithm.cpp.
Member Function Documentation
| void bt::AdvancedChokeAlgorithm::doChokingLeechingState | ( | PeerManager & | pman, | |
| ChunkManager & | cman, | |||
| const TorrentStats & | stats | |||
| ) | [virtual] |
Do the actual choking when we are still downloading.
- Parameters:
-
pman The PeerManager cman The ChunkManager stats The torrent stats
Implements bt::ChokeAlgorithm.
Definition at line 137 of file advancedchokealgorithm.cpp.
| void bt::AdvancedChokeAlgorithm::doChokingSeedingState | ( | PeerManager & | pman, | |
| ChunkManager & | cman, | |||
| const TorrentStats & | stats | |||
| ) | [virtual] |
Do the actual choking when we are seeding.
- Parameters:
-
pman The PeerManager cman The ChunkManager stats The torrent stats
Implements bt::ChokeAlgorithm.
Definition at line 199 of file advancedchokealgorithm.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference