template <>

class Server

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

Public Methods

void GetAdmin (GetAdminRequest & request, GetAdminCompleter::Sync & completer)

Obtain administrative control over a network interface.

+ request `id` identifies the interface to be controlled.

+ request `control` grants the client administrative control over

the interface. Closed without a terminal event if `id` does not

match an existing interface.

void GetMac (GetMacRequest & request, GetMacCompleter::Sync & completer)

Return an interface's MAC address.

+ request `id` identifies the interface whose MAC is requested.

- response `mac` is the interface's MAC address, if it has one.

void Server ()

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