/* */ #ifndef D_BT_UNCHOKE_MESSAGE_H #define D_BT_UNCHOKE_MESSAGE_H #include "ZeroBtMessage.h" namespace aria2 { class BtUnchokeMessage : public ZeroBtMessage { private: static const size_t MESSAGE_LENGTH = 5; public: BtUnchokeMessage(); static const uint8_t ID = 1; static const char NAME[]; static BtUnchokeMessage* create (const unsigned char* data, size_t dataLength); virtual void doReceivedAction(); virtual bool sendPredicate() const; virtual ProgressUpdate* getProgressUpdate(); }; } // namespace aria2 #endif // D_BT_UNCHOKE_MESSAGE_H