template <>
class WireServer
Defined at line 5703 of file fidling/gen/sdk/fidl/fuchsia.wlan.sme/fuchsia.wlan.sme/cpp/fidl/fuchsia.wlan.sme/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_wlan_sme::GenericSme>|
and |::fidl::ServerEnd
<
::fuchsia_wlan_sme::GenericSme>|).
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 (::fuchsia_wlan_sme::wire::GenericSmeGetClientSmeRequest * 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 (::fuchsia_wlan_sme::wire::GenericSmeGetApSmeRequest * 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 (::fuchsia_wlan_sme::wire::GenericSmeGetSmeTelemetryRequest * 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 WireServer ()
Defined at line 5706 of file fidling/gen/sdk/fidl/fuchsia.wlan.sme/fuchsia.wlan.sme/cpp/fidl/fuchsia.wlan.sme/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 5707 of file fidling/gen/sdk/fidl/fuchsia.wlan.sme/fuchsia.wlan.sme/cpp/fidl/fuchsia.wlan.sme/cpp/wire_messaging.h