template <>
class WireSyncClientImpl
Defined at line 1027 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::Bus>|,
avoiding setting up a client.
Public Methods
::fidl::OneWayStatus Publish (::fuchsia_netemul_sync::wire::Event data)
Publishes event on the bus.
Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.
::fidl::WireResult< ::fuchsia_netemul_sync::Bus::EnsurePublish> EnsurePublish (::fuchsia_netemul_sync::wire::Event data)
Publishes data on bus and only returns when data has been dispatched.
Use this if you need guarantees that the data was broadcast before continuing.
Note that this ensures that the data will be *published* to all listening clients,
but it cannot guarantee that all clients will have observed the event before it returns.
Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.
::fidl::WireResult< ::fuchsia_netemul_sync::Bus::GetClients> GetClients ()
Get list of named clients.
Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.
::fidl::WireResult< ::fuchsia_netemul_sync::Bus::WaitForClients> WaitForClients (::fidl::VectorView< ::fidl::StringView> clients, int64_t timeout)
Waits for up to `timeout` (nsec) for all the clients in `clients`.
Returns true if all clients are present on the bus before timeout expired.
If `result` is false, `absent` will contain the entries in `clients` that still weren't
present on the bus when the timout expired.
Use `timeout`
<
= 0 for indefinite wait.
Request is heap-allocated. Response is heap-allocated.
::fidl::WireResult< ::fuchsia_netemul_sync::Bus::WaitForEvent> WaitForEvent (::fuchsia_netemul_sync::wire::Event data, int64_t timeout)
Waits for up to `timeout` (nsec) for an event that matches `data`.
Event equality is performed by comparing *all* set fields in `data`.
Returns true if event was received before timeout expired.
Use `timeout`
<
= 0 for indefinite wait.
Allocates 24 bytes of response buffer on the stack. Request is heap-allocated.