template <>

class WireSyncClientImpl

Defined at line 1335 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/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_power_broker::ElementControl>|,

avoiding setting up a client.

Public Methods

::fidl::OneWayStatus OpenStatusChannel (::fidl::ServerEnd< ::fuchsia_power_broker::Status> && status_channel)

Register a new Status channel on which Power Broker will send

read-only updates of the element's current power level. This method

is intended to allow element owners to give read-only access to the

element's current power level to clients by opening and transferring

this channel.

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

::fidl::WireResult< ::fuchsia_power_broker::ElementControl::RegisterDependencyToken> RegisterDependencyToken (::zx::event && token)

Register a token which will permit the bearer to add either a

dependency upon this element.

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

::fidl::WireResult< ::fuchsia_power_broker::ElementControl::UnregisterDependencyToken> UnregisterDependencyToken (::zx::event && token)

Unregister a token previously registered via RegisterDependencyToken.

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