template <>

class WireServer

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

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_net_routes_admin::BaseRuleSet>|

and |::fidl::ServerEnd

<

::fuchsia_net_routes_admin::BaseRuleSet>|).

Public Methods

void AuthenticateForRouteTable (::fuchsia_net_routes_admin::wire::ProofOfRouteTableAuthorization * request, AuthenticateForRouteTableCompleter::Sync & completer)

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

void RemoveRule (::fuchsia_net_routes_admin::wire::BaseRuleSetRemoveRuleRequest * request, RemoveRuleCompleter::Sync & completer)

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.

void Close (CloseCompleter::Sync & completer)

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.

void WireServer ()

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

Handler bind_handler (async_dispatcher_t * dispatcher)

|bind_handler| returns a handler that binds incoming connections to this

server implementation.

The returned handler borrows the server instance.

The server must outlive the provided |dispatcher|. Only after

the dispatcher is shutdown will it be safe to destroy the servers.

The server should not be moved.

void ~WireServer ()

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