template <>

class Server

Defined at line 1294 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/driver/natural_messaging.h

Public Methods

void GetAddress (GetAddressCompleter::Sync & completer)

Gets this device's MAC address.

void GetFeatures (GetFeaturesCompleter::Sync & completer)

Gets this device's features.

void Server ()

Defined at line 1297 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/driver/natural_messaging.h

void SetMode (SetModeRequest & request, SetModeCompleter::Sync & completer)

Sets this device's operating mode.

`mode` is one of the variants in [`Mode`], it's guaranteed to be one of

the reported modes in this device's reported features. `multicast_macs`

is only provided (though it can still be empty) when `mode` is

`MULTICAST_FILTER`. `multicast_macs` is always guaranteed to be at most

`multicast_filter_count` entries.

Handler bind_handler (fdf_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 1298 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/driver/natural_messaging.h