template <>

class WireServer

Defined at line 1285 of file fidling/gen/sdk/fidl/fuchsia.wlan.softmac/fuchsia.wlan.softmac/cpp/fidl/fuchsia.wlan.softmac/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_wlan_softmac::WlanSoftmacIfcBridge>|

and |::fidl::ServerEnd

<

::fuchsia_wlan_softmac::WlanSoftmacIfcBridge>|).

Public Methods

void ReportTxResult (::fuchsia_wlan_softmac::wire::WlanSoftmacIfcBaseReportTxResultRequest * request, ReportTxResultCompleter::Sync & completer)

Reports the result of an attempted transmission.

A device driver indicates support for `ReportTxResult()` using

`fuchsia.wlan.common/DeviceExtension.report_tx_result_supported`.

void NotifyScanComplete (::fuchsia_wlan_softmac::wire::WlanSoftmacIfcBaseNotifyScanCompleteRequest * request, NotifyScanCompleteCompleter::Sync & completer)

Reports completion of a scan associated with the unique `scan_id`. `status`

indicates whether the scan completed successfully, failed due to an error,

or was cancelled.

Return status indicates the reason for scan completion:

ZX_OK: All channels were scanned successfully.

ZX_ERR_CANCELLED: The scan was terminated by a user request, either an

explicit WlanSoftmac.CancelScan() or the initiation of an

incompatible request (e.g. connect).

ZX_ERR_OUT_OF_RANGE: The scan request included a prohibited channel.

This may be due to the current country setting.

void StopBridgedDriver (StopBridgedDriverCompleter::Sync & completer)

Stop the bridged driver.

Calling this method causes both the server end of this protocol (`WlanSoftmacIfcBridge`)

to close and the client end of `WlanSoftmacBridge` to close. The server will not return a

response from this method until after processing all queued events.

In practice, the wlansoftmac driver calls this method during unbind.

void WireServer ()

Defined at line 1288 of file fidling/gen/sdk/fidl/fuchsia.wlan.softmac/fuchsia.wlan.softmac/cpp/fidl/fuchsia.wlan.softmac/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 1289 of file fidling/gen/sdk/fidl/fuchsia.wlan.softmac/fuchsia.wlan.softmac/cpp/fidl/fuchsia.wlan.softmac/cpp/wire_messaging.h