/* */ #ifndef _D_LPD_DISPATCH_MESSAGE_COMMAND_H_ #define _D_LPD_DISPATCH_MESSAGE_COMMAND_H_ #include "Command.h" #include "SharedHandle.h" namespace aria2 { class LpdMessageDispatcher; class DownloadEngine; class BtRuntime; class LpdDispatchMessageCommand:public Command { private: SharedHandle _dispatcher; DownloadEngine* _e; unsigned int _tryCount; SharedHandle _btRuntime; public: LpdDispatchMessageCommand (cuid_t cuid, const SharedHandle& dispatcher, DownloadEngine* e); virtual bool execute(); void setBtRuntime(const SharedHandle& btRuntime) { _btRuntime = btRuntime; } }; } // namespace aria2 #endif // _D_LPD_DISPATCH_MESSAGE_COMMAND_H_