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