/* */ #ifndef _D_DHT_ROUTING_TABLE_DESERIALIZER_H_ #define _D_DHT_ROUTING_TABLE_DESERIALIZER_H_ #include "common.h" #include "SharedHandle.h" #include "TimeA2.h" #include #include namespace aria2 { class DHTNode; class DHTRoutingTableDeserializer { private: SharedHandle _localNode; std::deque > _nodes; Time _serializedTime; public: DHTRoutingTableDeserializer(); ~DHTRoutingTableDeserializer(); SharedHandle getLocalNode() const; const std::deque >& getNodes() const; Time getSerializedTime() const { return _serializedTime; } void deserialize(std::istream& in); }; } // namespace aria2 #endif // _D_DHT_ROUTING_TABLE_DESERIALIZER_H_