/* */ #ifndef _D_SIMPLE_BT_MESSAGE_H_ #define _D_SIMPLE_BT_MESSAGE_H_ #include "AbstractBtMessage.h" namespace aria2 { class SimpleBtMessage : public AbstractBtMessage { public: SimpleBtMessage(uint8_t id, const std::string& name); virtual ~SimpleBtMessage(); virtual void send(); virtual const unsigned char* getMessage() = 0; virtual size_t getMessageLength() = 0; virtual void onSendComplete() {}; virtual bool sendPredicate() const { return true; }; }; } // namespace aria2 #endif // _D_SIMPLE_BT_MESSAGE_H_