/* */ #ifndef _D_DHT_PING_MESSAGE_H_ #define _D_DHT_PING_MESSAGE_H_ #include "DHTQueryMessage.h" #include "A2STR.h" namespace aria2 { class DHTPingMessage:public DHTQueryMessage { public: DHTPingMessage(const SharedHandle& localNode, const SharedHandle& remoteNode, const std::string& transactionID = A2STR::NIL); virtual ~DHTPingMessage(); virtual void doReceivedAction(); virtual BDE getArgument(); virtual std::string getMessageType() const; virtual void validate() const; static const std::string PING; }; } // namespace aria2 #endif // _D_DHT_PING_MESSAGE_H_