template <>

class WireServer

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

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_wlan_phyimpl::WlanPhyImplNotify>|

and |::fidl::ServerEnd

<

::fuchsia_wlan_phyimpl::WlanPhyImplNotify>|).

Public Methods

void OnCriticalError (::fuchsia_wlan_phyimpl::wire::WlanPhyImplNotifyOnCriticalErrorRequest * request, OnCriticalErrorCompleter::Sync & completer)

Indicate to the receiver (wlanphy client) that the wlan PHY has encountered a critical

error specifying a reason code. The client can decide to forward it to higher layers of

the wlan stack, handle it itself or ignore it. The sender can decide to handle the

error if the receiver responds with an error code.

Some possible error codes are:

NOT_SUPPORTED: receiver does not have support for handling the event.

INTERNAL: Error encountered during processing (including error returned by

a higher layer module if it was forwarded).

void OnCountryCodeChange (::fuchsia_wlan_phyimpl::wire::WlanPhyImplNotifyOnCountryCodeChangeRequest * request, OnCountryCodeChangeCompleter::Sync & completer)

Indicate to the receiver (wlanphy client) that the firmware running on wlan hardware

has detected a change in country code. The client can decide to forward it to higher

layers of the wlan stack, handle it itself or ignore it.

The sender can decide to handle the error if the receiver responds with an error code.

Some possible error codes are:

NOT_SUPPORTED: receiver does not have support for handling the event.

INTERNAL: Error encountered during processing (including error returned by

a higher layer module if it was forwarded).

INVALID_ARGS: The country code is either missing or not in the correct format.

void WireServer ()

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