template <>

class WireServer

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

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fdf::ClientEnd

<

::fuchsia_hardware_network_driver::MacAddr>|

and |::fdf::ServerEnd

<

::fuchsia_hardware_network_driver::MacAddr>|).

Public Methods

void GetAddress (fdf::Arena & arena, GetAddressCompleter::Sync & completer)

Gets this device's MAC address.

void GetFeatures (fdf::Arena & arena, GetFeaturesCompleter::Sync & completer)

Gets this device's features.

void SetMode (::fuchsia_hardware_network_driver::wire::MacAddrSetModeRequest * request, fdf::Arena & arena, 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.

void WireServer ()

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

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 ~WireServer ()

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