class WatchClient

Defined at line 42 of file ../../src/connectivity/network/drivers/network-device/device/status_watcher-test.cc

Public Members

static const uint32_t kEvent

Public Methods

void WatchClient (const WatchClient & )

Defined at line 46 of file ../../src/connectivity/network/drivers/network-device/device/status_watcher-test.cc

void WatchClient (WatchClient && )

We capture references to this in |WatchStatus|.

Defined at line 48 of file ../../src/connectivity/network/drivers/network-device/device/status_watcher-test.cc

zx::result<std::unique_ptr<WatchClient>> Create (async_dispatcher_t * dispatcher, fidl::ClientEnd<netdev::StatusWatcher> client_end)

Creates a |WatchClient|. The client must only be destroyed outside of the dispatcher thread.

Defined at line 51 of file ../../src/connectivity/network/drivers/network-device/device/status_watcher-test.cc

std::optional<ObservedStatus> PopObserved ()

Defined at line 63 of file ../../src/connectivity/network/drivers/network-device/device/status_watcher-test.cc

void WaitForEventAndReset ()

Defined at line 73 of file ../../src/connectivity/network/drivers/network-device/device/status_watcher-test.cc

void NoEvents (zx::duration duration)

Defined at line 78 of file ../../src/connectivity/network/drivers/network-device/device/status_watcher-test.cc

void WaitForEventCount (size_t count)

Defined at line 82 of file ../../src/connectivity/network/drivers/network-device/device/status_watcher-test.cc

void ~WatchClient ()

Defined at line 94 of file ../../src/connectivity/network/drivers/network-device/device/status_watcher-test.cc