template <>

class Server

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

Public Methods

void Query (QueryCompleter::Sync & completer)

Query the underlying SME to determine basic properties. This should

generally be called first to determine which SME protocol to request

for the SME.

void GetClientSme (GetClientSmeRequest & request, GetClientSmeCompleter::Sync & completer)

Attempt to establish a new connection to an underlying Client SME.

Connections may be established for the whole lifetime of the SME,

but concurrent connections might lead to unexpected behavior.

Likely errors include:

* NOT_SUPPORTED: The underlying SME is not a Client SME.

* PEER_CLOSED: The underlying SME is shutting down.

void GetApSme (GetApSmeRequest & request, GetApSmeCompleter::Sync & completer)

Attempt to establish a new connection to an underlying AP SME.

Connections may be established for the whole lifetime of the SME,

but concurrent connections might lead to unexpected behavior.

Likely errors include:

* NOT_SUPPORTED: The underlying SME is not an AP SME.

* PEER_CLOSED: The underlying SME is shutting down.

void GetSmeTelemetry (GetSmeTelemetryRequest & request, GetSmeTelemetryCompleter::Sync & completer)

Attempt to establish a new connection to telemetry information for the

underlying SME.

Connections may be established for the whole lifetime of the SME, and

concurrent connections are safe since this is a read-only API.

Likely errors include:

* NOT_SUPPORTED: The underlying SME does not support telemetry.

* PEER_CLOSED: The underlying SME is shutting down.

void Server ()

Defined at line 1663 of file fidling/gen/sdk/fidl/fuchsia.wlan.sme/fuchsia.wlan.sme/cpp/fidl/fuchsia.wlan.sme/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 1664 of file fidling/gen/sdk/fidl/fuchsia.wlan.sme/fuchsia.wlan.sme/cpp/fidl/fuchsia.wlan.sme/cpp/natural_messaging.h