/* */ #ifndef D_BT_CANCEL_MESSAGE_H #define D_BT_CANCEL_MESSAGE_H #include "RangeBtMessage.h" namespace aria2 { class BtCancelMessage : public RangeBtMessage { public: BtCancelMessage(size_t index = 0, int32_t begin = 0, int32_t length = 0); static const int8_t ID = 8; static const char NAME[]; static BtCancelMessage* create(const unsigned char* data, size_t dataLength); virtual void doReceivedAction(); }; } // namespace aria2 #endif // D_BT_CANCEL_MESSAGE_H