template <>

class WireSyncClientImpl

Defined at line 8971 of file fidling/gen/sdk/fidl/fuchsia.net.routes.admin/fuchsia.net.routes.admin/cpp/fidl/fuchsia.net.routes.admin/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_admin::RuleSetV6>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::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.

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

::fidl::WireResult< ::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.

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

::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.

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

::fidl::WireResult< ::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.

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