class ProxyHostPublisher
Defined at line 7051 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h
Discoverable protocol for publishing on behalf of another host.
Public Members
static const char[] Name_
Public Methods
void ~ProxyHostPublisher ()
void PublishProxyHost (::std::string host, ::std::vector< ::fuchsia::net::IpAddress> addresses, ::fuchsia::net::mdns::ProxyHostPublicationOptions options, ::fidl::InterfaceRequest< ::fuchsia::net::mdns::ServiceInstancePublisher> service_instance_publisher, PublishProxyHostCallback callback)
Publishes a host name on behalf of a remote host and provides a `ServiceInstancePublisher`
for publishing service instances on behalf of that host.
+ request `host` host name to publish.
+ request `addresses` addresses to publish for the host name.
+ request `options` options to be applied to the publication.
+ request `service_instance_publisher` server end of the `ServiceInstancePublisher` for
the proxied host.
This method causes the service to publish the host name at the specified addresses. The
actual host must not be present on any relevant links or there will be a conflict. If
the `perform_probe` option is true or not supplied (true by default), a probe will occur
to verify that the host name isn't otherwise published.
The proxy host created by this method persists until the `ServiceInstancePublisher`
channel is closed.