/* */ #ifndef D_DHT_ROUTING_TABLE_SERIALIZER_H #define D_DHT_ROUTING_TABLE_SERIALIZER_H #include "common.h" #include #include #include "SharedHandle.h" namespace aria2 { class DHTNode; class DHTRoutingTableSerializer { private: int family_; SharedHandle localNode_; std::vector > nodes_; public: DHTRoutingTableSerializer(int family); ~DHTRoutingTableSerializer(); void setLocalNode(const SharedHandle& localNode); void setNodes(const std::vector >& nodes); void serialize(std::ostream& o); }; } // namespace aria2 #endif // D_DHT_ROUTING_TABLE_SERIALIZER_H