class ServiceInstanceResolver
Defined at line 7364 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h
Discoverable protocol for resolving service instances.
Public Members
static const char[] Name_
Public Methods
void ~ServiceInstanceResolver ()
void ResolveServiceInstance (::std::string service, ::std::string instance, int64_t timeout, ::fuchsia::net::mdns::ServiceInstanceResolutionOptions options, ResolveServiceInstanceCallback callback)
Resolves a specific service instance by sending an SRV query and returns
the endpoints, target and text records.
+ request `service` name of the type of service to be resolved. For example, cast uses
'_googlecast._tcp.'.
+ request `instance` name of the instance to be resolved. This is often a descriptive name
such as `Office Printer` or a name containing a large random number.
+ request `timeout` specifies how long the service should wait before giving up when
waiting for a response to a resolution query.
+ request `options` options to be applied to the resolution.
A successful resolution will return target and at least one endpoint.
Unsuccessful resolution occurs when either the service instance doesn't respond or
there is no endpoint (IP
&
port).