template <>

class WireSyncClientImpl

Defined at line 470 of file fidling/gen/sdk/fidl/fuchsia.hardware.fan/fuchsia.hardware.fan/cpp/fidl/fuchsia.hardware.fan/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_hardware_fan::Fan>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_hardware_fan::Fan::GetFanLevel> GetFanLevel ()

Get the current fan level.

- response `status`

ZX_ERR_INTERNAL if `fan_level` is not available.

This generally means that `fan_level` has not

been initialized yet or something has gone

terribly wrong.

- response `fan_level` a uint32 field indicating the

current fan level. See fan level description above.

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

::fidl::WireResult< ::fuchsia_hardware_fan::Fan::SetFanLevel> SetFanLevel (uint32_t fan_level)

Set the fan level.

+ request `fan_level` a uint32 field indicating the

requested fan level. See fan level description above.

- response `status`

ZX_ERR_OUT_OF_RANGE if the requested fan_level is not

valid.

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