/* */ #ifndef D_DHT_TASK_QUEUE_H #define D_DHT_TASK_QUEUE_H #include "common.h" #include "SharedHandle.h" namespace aria2 { class DHTTask; class DHTTaskQueue { public: virtual ~DHTTaskQueue() {} virtual void executeTask() = 0; virtual void addPeriodicTask1(const SharedHandle& task) = 0; virtual void addPeriodicTask2(const SharedHandle& task) = 0; virtual void addImmediateTask(const SharedHandle& task) = 0; }; } // namespace aria2 #endif // D_DHT_TASK_QUEUE_H