template <>

class WireServer

Defined at line 8193 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::RuleTableV6>|

and |::fidl::ServerEnd

<

::fuchsia_net_routes_admin::RuleTableV6>|).

Public Methods

void NewRuleSet (::fuchsia_net_routes_admin::wire::RuleTableV6NewRuleSetRequest * request, NewRuleSetCompleter::Sync & completer)

Returns an empty rule set at requested priority.

Clients are free to manage the rules within their own rule set, but not

the rule set of others. Only one rule set is allowed at each `priority`

level. Channel is closed with `ZX_ERR_ALREADY_EXISTS` if there's already

a rule set at the given `priority`.

+ request `priority` the priority of this `RuleSetV6`, all rule sets are

globally ordered according to this number.

+ request `rule_set` grants access to the `RuleSetV6` protocol.

void WireServer ()

Defined at line 8196 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 8197 of file fidling/gen/sdk/fidl/fuchsia.net.routes.admin/fuchsia.net.routes.admin/cpp/fidl/fuchsia.net.routes.admin/cpp/wire_messaging.h