template <>

class WireWeakAsyncClientImpl

Defined at line 9600 of file fidling/gen/sdk/fidl/fuchsia.sys2/fuchsia.sys2/cpp/fidl/fuchsia.sys2/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireThenable< ::fuchsia_sys2::LifecycleController::StartInstance> StartInstance (::fidl::StringView moniker, ::fidl::ServerEnd< ::fuchsia_component::Binder> && binder)

Starts the instance identified by the given moniker. Relative

monikers must start with "./".

The client can pass in the server end of a channel

for the fuchsia.component.Binder protocol. This protocol

will notify the client when the instance has stopped.

The function returns once the instance has been started. Calling

StartInstance() when the instance is already running is a no-op, but

it will connect the Binder channel if a valid handle is provided.

The request and callback are allocated on the heap.

::fidl::internal::WireThenable< ::fuchsia_sys2::LifecycleController::StartInstanceWithArgs> StartInstanceWithArgs (::fidl::StringView moniker, ::fidl::ServerEnd< ::fuchsia_component::Binder> && binder, ::fuchsia_component::wire::StartChildArgs args)

The request and callback are allocated on the heap.

::fidl::internal::WireThenable< ::fuchsia_sys2::LifecycleController::StopInstance> StopInstance (::fidl::StringView moniker)

Stops the instance identified by the given moniker. Relative

monikers must start with "./".

The function returns once the instance has been stopped.

The request and callback are allocated on the heap.

::fidl::internal::WireThenable< ::fuchsia_sys2::LifecycleController::ResolveInstance> ResolveInstance (::fidl::StringView moniker)

Resolves the instance identified by the given moniker. Relative

monikers must start with "./".

The function returns once the instance has been resolved.

The request and callback are allocated on the heap.

::fidl::internal::WireThenable< ::fuchsia_sys2::LifecycleController::UnresolveInstance> UnresolveInstance (::fidl::StringView moniker)

Unresolves the component designated by the provided moniker. Relative

monikers must start with "./".

The function returns once the instance has been unresolved.

The request and callback are allocated on the heap.

::fidl::internal::WireThenable< ::fuchsia_sys2::LifecycleController::CreateInstance> CreateInstance (::fidl::StringView parent_moniker, const ::fuchsia_component_decl::wire::CollectionRef & collection, ::fuchsia_component_decl::wire::Child decl, ::fuchsia_component::wire::CreateChildArgs args)

Creates a new child instance identified by the given moniker. Relative

monikers must start with "./".

The function returns once the child instance has been added to the topology.

The request and callback are allocated on the heap.

::fidl::internal::WireThenable< ::fuchsia_sys2::LifecycleController::DestroyInstance> DestroyInstance (::fidl::StringView parent_moniker, const ::fuchsia_component_decl::wire::ChildRef & child)

Destroys the instance identified by the given moniker. Relative

monikers must start with "./".

The function returns once the child instance no longer exists in the topology.

The request and callback are allocated on the heap.