/* */ #ifndef _D_DHT_FIND_NODE_REPLY_MESSAGE_H_ #define _D_DHT_FIND_NODE_REPLY_MESSAGE_H_ #include "DHTResponseMessage.h" #include namespace aria2 { class DHTFindNodeReplyMessage:public DHTResponseMessage { private: std::deque > _closestKNodes; protected: virtual std::string toStringOptional() const; public: DHTFindNodeReplyMessage(const SharedHandle& localNode, const SharedHandle& remoteNode, const std::string& transactionID); virtual ~DHTFindNodeReplyMessage(); virtual void doReceivedAction(); virtual Dictionary* getResponse(); virtual std::string getMessageType() const; virtual void validate() const; const std::deque >& getClosestKNodes() const; void setClosestKNodes(const std::deque >& closestKNodes); }; } // namespace aria2 #endif // _D_DHT_FIND_NODE_REPLY_MESSAGE_H_