/* */ #ifndef _D_DHT_PING_REPLY_MESSAGE_H_ #define _D_DHT_PING_REPLY_MESSAGE_H_ #include "DHTResponseMessage.h" #include "DHTConstants.h" namespace aria2 { class DHTPingReplyMessage:public DHTResponseMessage { private: unsigned char _id[DHT_ID_LENGTH]; public: DHTPingReplyMessage(const SharedHandle& localNode, const SharedHandle& remoteNode, const unsigned char* id, const std::string& transactionID); virtual ~DHTPingReplyMessage(); virtual void doReceivedAction(); virtual Dictionary* getResponse(); virtual std::string getMessageType() const; virtual void validate() const; const unsigned char* getRemoteID() { return _id; } }; } // namespace aria2 #endif // _D_DHT_PING_REPLY_MESSAGE_H_