/* */ #ifndef D_LPD_RECEIVE_MESSAGE_COMMAND_H #define D_LPD_RECEIVE_MESSAGE_COMMAND_H #include "Command.h" #include namespace aria2 { class LpdMessageReceiver; class DownloadEngine; class SocketCore; class LpdReceiveMessageCommand:public Command { private: std::shared_ptr receiver_; DownloadEngine* e_; public: LpdReceiveMessageCommand (cuid_t cuid, const std::shared_ptr& receiver, DownloadEngine* e); virtual ~LpdReceiveMessageCommand(); virtual bool execute() CXX11_OVERRIDE; const std::shared_ptr& getLpdMessageReceiver() const { return receiver_; } }; } // namespace aria2 #endif // D_LPD_RECEIVE_MESSAGE_COMMAND_H