template <>

class WireSyncClientImpl

Defined at line 1173 of file fidling/gen/sdk/fidl/fuchsia.device/fuchsia.device/cpp/fidl/fuchsia.device/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_device::Controller>|,

avoiding setting up a client.

Public Methods

::fidl::OneWayStatus ConnectToDeviceFidl (::zx::channel && server)

Connect to the underlying device's FIDL protocol.

This connection will not be multiplexed with fuchsia.device.Controller

or fuchsia.io.Node.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus ConnectToController (::fidl::ServerEnd< ::fuchsia_device::Controller> && server)

Connect to the same Controller FIDL protocol.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_device::Controller::Bind> Bind (::fidl::StringView driver)

Attempt to bind a driver to this device.

+ request `driver` This represents the suffix of a driver URL (e.g: "fvm.cm").

If this is non-empty, then the only drivers that will try to bind

are ones that match this url suffix.

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

::fidl::WireResult< ::fuchsia_device::Controller::Rebind> Rebind (::fidl::StringView driver)

Unbind all the children of this device, and then attempt to bind a driver to the device.

This will not return until the bind completes.

+ request `driver` This represents the suffix of a driver URL (e.g: "fvm.cm").

If this is non-empty, then the only drivers that will try to bind

are ones that match this url suffix.

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

::fidl::WireResult< ::fuchsia_device::Controller::UnbindChildren> UnbindChildren ()

This api will unbind all the children of this device synchronously.

This will avoid watching for device removal by the clients.

Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_device::Controller::ScheduleUnbind> ScheduleUnbind ()

Disconnect this device and allow its parent to be bound again.

This may not complete before it returns.

Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_device::Controller::GetTopologicalPath> GetTopologicalPath ()

Return the topological path for this device

Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.