/* */ #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 void send(); virtual unsigned char* createMessage() = 0; virtual size_t getMessageLength() = 0; virtual void onSendComplete() {}; virtual bool sendPredicate() const { return true; }; }; } // namespace aria2 #endif // D_SIMPLE_BT_MESSAGE_H