template <>

class WireServer

Defined at line 7926 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::RouteSetV6>|

and |::fidl::ServerEnd

<

::fuchsia_net_routes_admin::RouteSetV6>|).

Public Methods

void AuthenticateForInterface (::fuchsia_net_routes_admin::wire::RouteSetV6AuthenticateForInterfaceRequest * 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 (::fuchsia_net_routes_admin::wire::RouteSetV6AddRouteRequest * 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 (::fuchsia_net_routes_admin::wire::RouteSetV6RemoveRouteRequest * 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 WireServer ()

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