template <>

class Server

Defined at line 475 of file fidling/gen/sdk/fidl/fuchsia.net.root/fuchsia.net.root/cpp/fidl/fuchsia.net.root/cpp/natural_messaging.h

Public Methods

void GlobalRouteSet (GlobalRouteSetRequest & request, GlobalRouteSetCompleter::Sync & completer)

Returns a `RouteSetV4` containing all IPv4 routes from the global

routing table. Clients have unilateral access to add or remove routes

from the set. This includes the ability to remove routes installed by

the system, or routes installed by other clients of the `RouteSetV4`

protocol.

Note that the established connection to the `RouteSetV4` protocol will

have a few notable differences from a `RouteSetV4` obtained by

[`fuchsia.net.routes.admin/RouteTableV4.NewRouteSet`]:

- When removing a route from this route set, the route will be

completely removed from the system, including removal from all other

route sets to which it belongs.

- The protocol does not encode the lifetime of the route set or its

routes. Closing the client end will not cause the routes within this

route set to be removed from the system. Thus, routes added via this

route set will effectively be abandoned/unowned after this

client-end closes.

+ request `route set` grants access to the `RouteSetV4` protocol.

void Server ()

Defined at line 478 of file fidling/gen/sdk/fidl/fuchsia.net.root/fuchsia.net.root/cpp/fidl/fuchsia.net.root/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 479 of file fidling/gen/sdk/fidl/fuchsia.net.root/fuchsia.net.root/cpp/fidl/fuchsia.net.root/cpp/natural_messaging.h