class ServiceInstancePublicationResponder
Defined at line 7255 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h
Client-supplied publication responder interface.
Public Methods
void ~ServiceInstancePublicationResponder ()
void OnPublication (::fuchsia::net::mdns::ServiceInstancePublicationCause publication_cause, ::fidl::StringPtr subtype, ::std::vector< ::fuchsia::net::IpAddress> source_addresses, OnPublicationCallback callback)
Provides instance information for initial announcements and query
responses relating to the service instance specified in
`ServiceInstancePublisher.PublishServiceInstance`.
+ request `publication_cause` the action that motivates this publication.
+ request `subtype` the subtype if the publication relates to a subtype of the service,
otherwise null.
+ request `source_addresses` addresses from which queries arrived, if applicable.
- response `publication` the desired publication. Strings in `publication.text` are sent
in the TXT resource.
* error indicates the publication should not be sent.
If no publication should be sent, this method should return a `DO_NOT_RESPOND` error.