class WatchServers

Defined at line 134 of file fidling/gen/sdk/fidl/fuchsia.net.name/fuchsia.net.name/cpp/fidl/fuchsia.net.name/cpp/markers.h

Returns a list of DNS servers.

First call always returns a snapshot of the current list of servers or blocks if an empty

list would be returned. Subsequent calls will block until the list of servers changes.

The list of servers changes over time by configuration or network topology changes,

expiration, etc. Callers must repeatedly call `WatchServers` and replace any previously

returned `servers` with new ones to avoid using stale or expired entries.

It is invalid to call this method while a previous call is pending. Doing so will cause the

server end of the protocol to be closed.

- response `servers` The list of servers to use for DNS resolution, in priority order.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal