summaryrefslogtreecommitdiff
path: root/src/DHTPingReplyMessage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/DHTPingReplyMessage.cc')
-rw-r--r--src/DHTPingReplyMessage.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/DHTPingReplyMessage.cc b/src/DHTPingReplyMessage.cc
index 37b81f2a..f004a037 100644
--- a/src/DHTPingReplyMessage.cc
+++ b/src/DHTPingReplyMessage.cc
@@ -38,6 +38,7 @@
#include "DHTNode.h"
#include "bencode.h"
+#include "DHTMessageCallback.h"
namespace aria2 {
@@ -68,4 +69,9 @@ const std::string& DHTPingReplyMessage::getMessageType() const
return PING;
}
+void DHTPingReplyMessage::accept(DHTMessageCallback* callback)
+{
+ callback->visit(this);
+}
+
} // namespace aria2