/* */ #ifndef D_CREATE_REQUEST_COMMAND_H #define D_CREATE_REQUEST_COMMAND_H #include "AbstractCommand.h" namespace aria2 { // CreateRequestCommand selects URI using URISelector object and // create Request object with the selected URI. Then create subsequent // command using // InitiateConnectionCommandFactory. InitiateConnectionCommandFactory // creates Command based on the protocol of selected URI. If there is // no URI available, then throws exceptions. class CreateRequestCommand:public AbstractCommand { public: CreateRequestCommand(cuid_t cuid, RequestGroup* requestGroup, DownloadEngine* e); protected: virtual bool executeInternal(); }; } // namespace aria2 #endif // D_CREATE_REQUEST_COMMAND_H