template <>
class NaturalSyncClientImpl
Defined at line 2241 of file fidling/gen/sdk/fidl/fuchsia.sys2/fuchsia.sys2/cpp/fidl/fuchsia.sys2/cpp/natural_messaging.h
Public Methods
::fidl::Result< ::fuchsia_sys2::RouteValidator::Validate> Validate (const ::fidl::Request< ::fuchsia_sys2::RouteValidator::Validate> & request)
Routes all incoming and exposed capabilities of a component identified by the given
moniker. If the routing failed, an error is returned in the response.
This function may cause components to be resolved.
Errors:
* INVALID_ARGUMENTS: The given moniker is not valid.
* INSTANCE_NOT_FOUND: No instance was found matching the given moniker.
::fidl::Result< ::fuchsia_sys2::RouteValidator::Route> Route (const ::fidl::Request< ::fuchsia_sys2::RouteValidator::Route> & request)
Routes a component's used or exposed capabilities, and returns
information about them.
If `targets` is empty, returns results for all the component's used and
exposed capabilities. Otherwise, returns only results for capabilities
specified in `targets`.
This method only supports routing namespace capabilities (protocols,
directories, services, and storage).
Errors:
* INVALID_ARGUMENTS: The given moniker or name is not valid, or `name`
is not a namespace capability.
* INSTANCE_NOT_FOUND: No instance was found matching the given moniker.
* RESOURCE_NOT_FOUND: No capability was found matching one of the given names.