/* */ #ifndef D_SLEEP_COMMAND_H #define D_SLEEP_COMMAND_H #include "Command.h" #include "TimerA2.h" namespace aria2 { class DownloadEngine; class RequestGroup; class SleepCommand:public Command { private: DownloadEngine* engine_; RequestGroup* requestGroup_; Command* nextCommand_; time_t wait_; Timer checkPoint_; public: SleepCommand(cuid_t cuid, DownloadEngine* e, RequestGroup* requestGroup, Command* nextCommand, time_t wait); virtual ~SleepCommand(); bool execute(); }; } // namespace aria2 #endif // D_SLEEP_COMMAND_H