template <>

class WireSyncClientImpl

Defined at line 2442 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/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_network::StatusWatcher>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_hardware_network::StatusWatcher::WatchStatus> WatchStatus ()

`WatchStatus` blocks until the port's status has changed.

The first call to `WatchStatus` returns immediately with the current

port status, subsequent calls complete when the port status differs from

the last one that was returned through this `StatusWatcher`.

If `StatusWatcher` was created with a buffer value larger than 1,

`WatchStatus` may return a queued status change, depending on how many

status changed happened since the last call to `WatchStatus`.

- response `device_status` the most recent port status.

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