21#include <unordered_set>
42 void on_service(
const MdnsService& service,
bool is_new);
45 std::string instance_;
47 std::unique_ptr<MdnsClient> mdns_;
48 std::atomic<bool> running_{
false};
50 std::mutex dialed_mutex_;
51 std::unordered_set<std::string> dialed_;
void attach(NodeContext &ctx) override
MdnsDiscovery(Config config)
~MdnsDiscovery() override
A pluggable network subsystem.
The narrow contract a subsystem needs from the node — and nothing more.
std::string instance_name
empty → derived from our PeerId