class State

Defined at line 2017 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h

Network interface state inspection and observation.

Public Members

static const char[] Name_

Public Methods

void ~State ()
void GetWatcher (::fuchsia::net::interfaces::WatcherOptions options, ::fidl::InterfaceRequest< ::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.