template <>

class WireWeakAsyncClientImpl

Defined at line 1752 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::internal::WireThenable< ::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|.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_device_lifecycle_test::TestDevice::RemoveChild> RemoveChild (uint64_t child_id)

Removes the child device of the given |id|.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_device_lifecycle_test::TestDevice::AsyncRemoveChild> AsyncRemoveChild (uint64_t child_id)

Asynchronously removes a child device.

The remove must be completed with CompleteUnbind.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::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.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

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

Registers the client for device lifecycle events.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_device_lifecycle_test::TestDevice::CompleteUnbind> CompleteUnbind (uint64_t child_id)

Finishes an unbind started by AsyncRemoveChild.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.