template <>

class Server

Defined at line 422 of file fidling/gen/sdk/fidl/fuchsia.wlan.tap/fuchsia.wlan.tap/cpp/fidl/fuchsia.wlan.tap/cpp/natural_messaging.h

Public Methods

void Server ()

Defined at line 425 of file fidling/gen/sdk/fidl/fuchsia.wlan.tap/fuchsia.wlan.tap/cpp/fidl/fuchsia.wlan.tap/cpp/natural_messaging.h

void Shutdown (ShutdownCompleter::Sync & completer)

Shutdown the phy device so that it does not respond to any further calls.

Once shutdown, there is no way to restart the device.

It can only be called at the end of a test.

void Rx (RxRequest & request, RxCompleter::Sync & completer)

The device "receives" a frame "over the air" and pass it up to driver.

void ReportTxResult (ReportTxResultRequest & request, ReportTxResultCompleter::Sync & completer)

For rate selection (Minstrel), the device's last frame transmission is a success/failure,

with a certain number of retries.

void ScanComplete (ScanCompleteRequest & request, ScanCompleteCompleter::Sync & completer)
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 426 of file fidling/gen/sdk/fidl/fuchsia.wlan.tap/fuchsia.wlan.tap/cpp/fidl/fuchsia.wlan.tap/cpp/natural_messaging.h