template <>

class WireSyncClientImpl

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

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_sys2::LifecycleController>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::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.

Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.

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

Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::WireResult< ::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.

Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::WireResult< ::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.

Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::WireResult< ::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.

Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::WireResult< ::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.

Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::WireResult< ::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.

Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.