template <>

class WireSyncClientImpl

Defined at line 1643 of file fidling/gen/src/connectivity/network/testing/netemul/sync-manager/fidl/sync/cpp/fidl/fuchsia.netemul.sync/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_netemul_sync::SyncManager>|,

avoiding setting up a client.

Public Methods

::fidl::OneWayStatus BusSubscribe (::fidl::StringView bus_name, ::fidl::StringView client_name, ::fidl::ServerEnd< ::fuchsia_netemul_sync::Bus> && bus)

Subscribes to bus 'busName' with a given client name.

Duplicate client names are disallowed and will cause the request to return unfulfilled.

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

::fidl::WireResult< ::fuchsia_netemul_sync::SyncManager::WaitForBarrierThreshold> WaitForBarrierThreshold (::fidl::StringView barrier_name, uint32_t threshold, int64_t timeout)

Waits on a named counter barrier with name `barrierName`.

Functon will return true if the number of waits pending on the barrier matches or exceeds

`threshold` before `timeout` (nsec) expires.

Use `timeout`

<

= 0 for indefinite wait.

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