/* */ #ifndef D_PEER_CHOKE_COMMAND_H #define D_PEER_CHOKE_COMMAND_H #include "Command.h" #include namespace aria2 { class DownloadEngine; class BtRuntime; class PeerStorage; class PeerChokeCommand : public Command { private: DownloadEngine* e_; std::shared_ptr peerStorage_; std::shared_ptr btRuntime_; public: PeerChokeCommand(cuid_t cuid, DownloadEngine* e); virtual ~PeerChokeCommand(); virtual bool execute() CXX11_OVERRIDE; void setPeerStorage(const std::shared_ptr& peerStorage); void setBtRuntime(const std::shared_ptr& btRuntime); }; } // namespace aria2 #endif // D_PEER_CHOKE_COMMAND_H