diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-02-21 12:25:26 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-02-21 12:25:26 +0000 |
| commit | 7e6d037c97ec896370cba43516d0107474fbfe21 (patch) | |
| tree | c3fd0b813a8a6bb64a2cb41fb301d8a90f721d9d /src/DHTFindNodeMessage.cc | |
| parent | a8eeb818839dfd9895392af04c3efbb3aa7707c2 (diff) | |
2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Log more detailed information about each message.
* src/DHTQueryMessage.{h, cc}
* src/DHTGetPeersMessage.{h, cc}
* src/DHTFindNodeReplyMessage.{h, cc}
* src/DHTGetPeersReplyMessage.{h, cc}
* src/DHTAnnouncePeerMessage.{h, cc}
* src/DHTResponseMessage.{h, cc}
* src/DHTFindNodeMessage.{h, cc}
Diffstat (limited to 'src/DHTFindNodeMessage.cc')
| -rw-r--r-- | src/DHTFindNodeMessage.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/DHTFindNodeMessage.cc b/src/DHTFindNodeMessage.cc index 772d6eba..648826e0 100644 --- a/src/DHTFindNodeMessage.cc +++ b/src/DHTFindNodeMessage.cc @@ -40,6 +40,7 @@ #include "DHTMessageFactory.h" #include "DHTMessageDispatcher.h" #include "DHTMessageCallback.h" +#include "Util.h" #include <cstring> namespace aria2 { @@ -80,4 +81,9 @@ std::string DHTFindNodeMessage::getMessageType() const void DHTFindNodeMessage::validate() const {} +std::string DHTFindNodeMessage::toStringOptional() const +{ + return "targetNodeID="+Util::toHex(_targetNodeID, DHT_ID_LENGTH); +} + } // namespace aria2 |
