libktorrent
2.2.0
|
#include <advancedchokealgorithm.h>
Public Member Functions | |
void | doChokingLeechingState (PeerManager &pman, ChunkManager &cman, const TorrentStats &stats) override |
void | doChokingSeedingState (PeerManager &pman, ChunkManager &cman, const TorrentStats &stats) override |
![]() | |
Uint32 | getOptimisticlyUnchokedPeerID () const |
Get the optimisticly unchoked peer ID. | |
Additional Inherited Members | |
![]() | |
Uint32 | opt_unchoked_peer_id |
Definition at line 53 of file advancedchokealgorithm.h.
|
overridevirtual |
Do the actual choking when we are still downloading.
pman | The PeerManager |
cman | The ChunkManager |
stats | The torrent stats |
Implements bt::ChokeAlgorithm.
|
overridevirtual |
Do the actual choking when we are seeding
pman | The PeerManager |
cman | The ChunkManager |
stats | The torrent stats |
Implements bt::ChokeAlgorithm.