/* */ #ifndef _D_HAVE_ALL_MESSAGE_H_ #define _D_HAVE_ALL_MESSAGE_H_ #include "SimplePeerMessage.h" class HaveAllMessage : public SimplePeerMessage { private: char msg[5]; public: HaveAllMessage(); virtual ~HaveAllMessage(); enum ID_t { ID = 14 }; static HaveAllMessage* create(const char* data, int dataLength); virtual int getId() const { return ID; } virtual void receivedAction(); virtual const char* getMessage(); virtual int getMessageLength(); virtual void check() const; virtual string toString() const; }; #endif // _D_HAVE_ALL_MESSAGE_H_