libktorrent  2.1.1
Public Member Functions | List of all members
dht::TaskManager Class Reference

#include <taskmanager.h>

Inheritance diagram for dht::TaskManager:
Inheritance graph
[legend]

Public Member Functions

 TaskManager (const DHT *dh_table)
 
void addTask (Task *task)
 
bt::Uint32 getNumQueuedTasks () const
 Get the number of queued tasks.
 
bt::Uint32 getNumTasks () const
 Get the number of running tasks.
 

Detailed Description

Author
Joris Guisson joris.nosp@m..gui.nosp@m.sson@.nosp@m.gmai.nosp@m.l.com

Manages all dht tasks.

Definition at line 55 of file taskmanager.h.

Member Function Documentation

◆ addTask()

void dht::TaskManager::addTask ( Task task)

Add a task to manage.

Parameters
task

The documentation for this class was generated from the following file: