/* */ #ifndef _D_SLEEP_COMMAND_H_ #define _D_SLEEP_COMMAND_H_ #include "Command.h" #include "TimeA2.h" namespace aria2 { class DownloadEngine; class RequestGroup; class SleepCommand:public Command { private: DownloadEngine* engine; RequestGroup* _requestGroup; Command* nextCommand; time_t wait; Time checkPoint; public: SleepCommand(int32_t cuid, DownloadEngine* e, RequestGroup* requestGroup, Command* nextCommand, time_t wait); virtual ~SleepCommand(); bool execute(); }; } // namespace aria2 #endif // _D_SLEEP_COMMAND_H_