template <>

class Server

Defined at line 2835 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

void AuthenticateForInterface (AuthenticateForInterfaceRequest & request, AuthenticateForInterfaceCompleter::Sync & completer)

Authenticate this route set to manage routes on the provided interface.

Authentication is valid for the lifetime of the route set.

+ request `interface` the authentication credential for an interface.

void AddRoute (AddRouteRequest & request, AddRouteCompleter::Sync & completer)

Adds a route to this route set.

+ request `route` the route to add.

- response `did_add` true iff the route was added to this `RouteSet`

as a result of this call.

void RemoveRoute (RemoveRouteRequest & request, RemoveRouteCompleter::Sync & completer)

Removes a route from this route set.

Note that if this route also exists other route sets, it will not be

removed from the global routing table.

+ request `route` the route to remove.

- response `did_remove` true iff the route was removed from this

`RouteSet` as a result of this call.

void Server ()

Defined at line 2838 of file fidling/gen/sdk/fidl/fuchsia.net.routes.admin/fuchsia.net.routes.admin/cpp/fidl/fuchsia.net.routes.admin/cpp/natural_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 ~Server ()

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