template <>

class WireSyncBufferClientImpl

Defined at line 1259 of file fidling/gen/src/devices/tests/ddk-lifecycle/fuchsia.device.lifecycle.test/cpp/fidl/fuchsia.device.lifecycle.test/cpp/wire_messaging.h

Public Methods

::fidl::WireUnownedResult< ::fuchsia_device_lifecycle_test::TestDevice::AddChild> AddChild (bool init_complete, int32_t init_status)

Adds a child device and returns a unique |id| for the created device.

|complete_init| specifies whether the init hook should be replied to immediately,

or completed later by the caller with |CompleteChildInit|.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_device_lifecycle_test::TestDevice::RemoveChild> RemoveChild (uint64_t child_id)

Removes the child device of the given |id|.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_device_lifecycle_test::TestDevice::AsyncRemoveChild> AsyncRemoveChild (uint64_t child_id)

Asynchronously removes a child device.

The remove must be completed with CompleteUnbind.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_device_lifecycle_test::TestDevice::CompleteChildInit> CompleteChildInit (uint64_t child_id)

Replies to the child init hook.

Returns an error if the child has no pending init.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_device_lifecycle_test::TestDevice::SubscribeToLifecycle> SubscribeToLifecycle (::fidl::ServerEnd< ::fuchsia_device_lifecycle_test::Lifecycle> && client)

Registers the client for device lifecycle events.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_device_lifecycle_test::TestDevice::CompleteUnbind> CompleteUnbind (uint64_t child_id)

Finishes an unbind started by AsyncRemoveChild.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.