/* */ #ifndef D_FTP_INITIATE_CONNECTION_COMMAND_H #define D_FTP_INITIATE_CONNECTION_COMMAND_H #include "InitiateConnectionCommand.h" namespace aria2 { class FtpInitiateConnectionCommand : public InitiateConnectionCommand { private: virtual std::unique_ptr createNextCommandProxied (const std::string& hostname, const std::string& addr, uint16_t port, const std::vector& resolvedAddresses, const std::shared_ptr& proxyRequest); virtual std::unique_ptr createNextCommandPlain (const std::string& hostname, const std::string& addr, uint16_t port, const std::vector& resolvedAddresses); protected: virtual std::unique_ptr createNextCommand (const std::string& hostname, const std::string& addr, uint16_t port, const std::vector& resolvedAddresses, const std::shared_ptr& proxyRequest) CXX11_OVERRIDE; public: FtpInitiateConnectionCommand(cuid_t cuid, const std::shared_ptr& req, const std::shared_ptr& fileEntry, RequestGroup* requestGroup, DownloadEngine* e); virtual ~FtpInitiateConnectionCommand(); }; } // namespace aria2 #endif // D_FTP_INITIATE_CONNECTION_COMMAND_H