/* */ #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 SharedHandle getArgument(); virtual const std::string& getMessageType() const; static const std::string PING; }; } // namespace aria2 #endif // D_DHT_PING_MESSAGE_H