class ServiceSubscriptionListener

Defined at line 7690 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

Client-implemented interface for subscribers. Method replies are used to

throttle traffic. The service won't necessarily wait for a reply before

calling another method.

Public Methods

void ~ServiceSubscriptionListener ()
void OnInstanceDiscovered (::fuchsia::net::mdns::ServiceInstance instance, OnInstanceDiscoveredCallback callback)

Notifies the subscriber that a service instance has been discovered.

void OnInstanceChanged (::fuchsia::net::mdns::ServiceInstance instance, OnInstanceChangedCallback callback)

Notifies the subscriber that addresses or text for a known service

instance have changed.

void OnInstanceLost (::std::string service, ::std::string instance, OnInstanceLostCallback callback)

Notifies the subscriber that a known service instance has been lost.

void OnQuery (::fuchsia::net::mdns::ResourceType resource_type, OnQueryCallback callback)

Notifies the subscriber that a PTR query has been sent.