template <>
class WireSyncClientImpl
Defined at line 2720 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/cpp/fidl/fuchsia.net.routes/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_routes::RuleWatcherV4>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_net_routes::RuleWatcherV4::Watch> Watch ()
Hanging-Get style API for observing routing rule changes.
Clients must only have one pending `Watch` call at a time. Calling
`Watch` while a request is already pending will cause the protocol to
close.
The first N events will always be `existing` where N is the number of
IPv4 rules that already existed when the server-end of the protocol was
initialized. The following event will be `idle` signaling the end of the
`existing` events. At this point the client has watched all existing
state and will never again observe an `existing` event.
- response `events` A vector of at most `MAX_EVENTS` events.
Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.