/* */ #include "CheckIntegrityDispatcherCommand.h" #include "CheckIntegrityEntry.h" #include "CheckIntegrityCommand.h" #include "message.h" #include "Logger.h" #include "FileEntry.h" namespace aria2 { CheckIntegrityDispatcherCommand::CheckIntegrityDispatcherCommand (int32_t cuid, const SharedHandle& fileAllocMan, DownloadEngine* e):SequentialDispatcherCommand (cuid, fileAllocMan, e) { setStatusRealtime(); } Command* CheckIntegrityDispatcherCommand::createCommand (const SharedHandle& entry) { int32_t newCUID = _e->newCUID(); logger->info("CUID#%d - Dispatching CheckIntegrityCommand CUID#%d.", cuid, newCUID); return new CheckIntegrityCommand (newCUID, entry->getRequestGroup(), _e, entry); } } // namespace aria2