template <>

class Server

Defined at line 137 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.phy/fuchsia.hardware.usb.phy/cpp/fidl/fuchsia.hardware.usb.phy/cpp/natural_messaging.h

Public Methods

void ConnectStatusChanged (ConnectStatusChangedRequest & request, ConnectStatusChangedCompleter::Sync & completer)

Informs the PHY when the peripheral role connect status changes. If system suspend is

enabled, `wake_lease` will hold a wake lease that the callee can use to keep the system

awake while the call is being processed.

void Server ()

Defined at line 140 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.phy/fuchsia.hardware.usb.phy/cpp/fidl/fuchsia.hardware.usb.phy/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 141 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.phy/fuchsia.hardware.usb.phy/cpp/fidl/fuchsia.hardware.usb.phy/cpp/natural_messaging.h