/* */ #ifndef _D_HTTP_SERVER_BODY_COMMAND_H_ #define _D_HTTP_SERVER_BODY_COMMAND_H_ #include "Command.h" #include "SharedHandle.h" #include "TimerA2.h" namespace aria2 { class DownloadEngine; class SocketCore; class HttpServer; class HttpServerBodyCommand : public Command { private: DownloadEngine* e_; SharedHandle socket_; SharedHandle httpServer_; Timer timeoutTimer_; public: HttpServerBodyCommand(cuid_t cuid, const SharedHandle& httpServer, DownloadEngine* e, const SharedHandle& socket); virtual ~HttpServerBodyCommand(); virtual bool execute(); }; } // namespace aria2 #endif // _D_HTTP_SERVER_BODY_COMMAND_H_