/* */ #ifndef _D_REALTIME_COMMAND_H_ #define _D_REALTIME_COMMAND_H_ #include "Command.h" namespace aria2 { class RequestGroup; class DownloadEngine; class Exception; class RealtimeCommand : public Command { protected: RequestGroup* _requestGroup; DownloadEngine* _e; public: RealtimeCommand(int cuid, RequestGroup* requestGroup, DownloadEngine* e); virtual ~RealtimeCommand(); virtual bool execute(); virtual bool executeInternal() = 0; virtual bool handleException(Exception& e) = 0; }; } // namespace aria2 #endif // _D_REALTIME_COMMAND_H_