/* */ #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 std::shared_ptr& localNode, const std::shared_ptr& remoteNode, const std::string& transactionID = A2STR::NIL); virtual void doReceivedAction() CXX11_OVERRIDE; virtual std::unique_ptr getArgument() CXX11_OVERRIDE; virtual const std::string& getMessageType() const CXX11_OVERRIDE; static const std::string PING; }; } // namespace aria2 #endif // D_DHT_PING_MESSAGE_H