template <>

class NaturalClientImpl

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

Public Methods

::fidl::internal::NaturalThenable< ::fuchsia_net_routes_admin::RuleSetV6::AuthenticateForRouteTable> AuthenticateForRouteTable (::fidl::Request< ::fuchsia_net_routes_admin::RuleSetV6::AuthenticateForRouteTable> request)

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

::fidl::internal::NaturalThenable< ::fuchsia_net_routes_admin::RuleSetV6::RemoveRule> RemoveRule (const ::fidl::Request< ::fuchsia_net_routes_admin::RuleSetV6::RemoveRule> & request)

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.

::fidl::internal::NaturalThenable< ::fuchsia_net_routes_admin::RuleSetV6::AddRule> AddRule (::fidl::Request< ::fuchsia_net_routes_admin::RuleSetV6::AddRule> request)

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.

::fit::result< ::fidl::OneWayError> 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.