template <>

class WireSyncBufferClientImpl

Defined at line 9017 of file fidling/gen/sdk/fidl/fuchsia.net.routes.admin/fuchsia.net.routes.admin/cpp/fidl/fuchsia.net.routes.admin/cpp/wire_messaging.h

Public Methods

::fidl::WireUnownedResult< ::fuchsia_net_routes_admin::RuleSetV6::AuthenticateForRouteTable> AuthenticateForRouteTable (uint32_t table, ::zx::event && token)

Authenticates for a route table that will be used in an action.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_net_routes_admin::RuleSetV6::RemoveRule> RemoveRule (uint32_t index)

Removes a rule from this rule set.

If the client tries to remove from an index that does not have a rule,

the error `RULE_DOES_NOT_EXIST` will be returned.

+ request `index` the index of the rule.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::OneWayStatus Close ()

Removes all rules in the rule set and the underlying channel will be

closed after the rules are removed.

This method provides a way for synchronous closure.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_net_routes_admin::RuleSetV6::AddRule> AddRule (uint32_t index, ::fuchsia_net_routes::wire::RuleMatcherV6 matcher, ::fuchsia_net_routes::wire::RuleAction action)

Adds a rule to this rule set.

If there is already a rule at the provided `index`, `RULE_ALREADY_EXISTS`

is returned.

+ request `index` where to insert the rule.

+ request `matcher` the matcher of the rule.

+ request `action` action of the rule.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.