template <>

class WireSyncClientImpl

Defined at line 181 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/cpp/fidl/fuchsia.net.interfaces/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_net_interfaces::State>|,

avoiding setting up a client.

Public Methods

::fidl::OneWayStatus GetWatcher (::fuchsia_net_interfaces::wire::WatcherOptions options, ::fidl::ServerEnd< ::fuchsia_net_interfaces::Watcher> && watcher)

Initialize a watcher for interface state.

The server enqueues interface addition, deletion and property changes as

they occur, which can then be retrieved via the pipelined protocol.

+ request `options` specifies the behavior of the [`Watcher`].

+ request `watcher` grants access to a [`Watcher`]. Closed if the queue

cannot be allocated or if the queue is full when the server attempts

to enqueue an event.

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