class Introspector

Defined at line 10483 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/hlcpp/fuchsia/component/cpp/fidl.h

A protocol used by a component instance to obtain information about

components in its own realm.

This protocol only supports getting the moniker at the moment but could

expand to other privileged information such as the URL of a component.

The component framework provides this capability to components that use

`fuchsia.component.Introspector` from framework.

Public Members

static const char[] Name_

Public Methods

void ~Introspector ()
void GetMoniker (::zx::event component_instance, GetMonikerCallback callback)

Obtains the moniker relative to this realm of the component

corresponding to the provided token. Runners may obtain the token via

`fuchsia.component.runner/ComponentStartInfo.component_instance`.

Returns `Error.INSTANCE_NOT_FOUND` if the token is invalid, or

does not correspond to a component under this realm.

Protected Methods

void handle_unknown_method (uint64_t ordinal, bool method_has_response)

Friends

class Introspector_Stub