template <>

class WireServer

Defined at line 4455 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::RuleTableV4>|

and |::fidl::ServerEnd

<

::fuchsia_net_routes_admin::RuleTableV4>|).

Public Methods

void NewRuleSet (::fuchsia_net_routes_admin::wire::RuleTableV4NewRuleSetRequest * 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 `RuleSetV4`, all rule sets are

globally ordered according to this number.

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

void WireServer ()

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