/* */ #ifndef _D_FILE_ALLOCATION_COMMAND_H_ #define _D_FILE_ALLOCATION_COMMAND_H_ #include "RealtimeCommand.h" #include "TimeA2.h" #include "FileAllocationEntry.h" class FileAllocationCommand : public RealtimeCommand { private: FileAllocationEntryHandle _fileAllocationEntry; Time _timer; public: FileAllocationCommand(int cuid, RequestGroup* requestGroup, DownloadEngine* e, const FileAllocationEntryHandle& fileAllocationEntry): RealtimeCommand(cuid, requestGroup, e), _fileAllocationEntry(fileAllocationEntry) {} virtual bool executeInternal(); virtual bool handleException(Exception* e); }; #endif // _D_FILE_ALLOCATION_COMMAND_H_