template <>

class WireServer

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

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_hardware_usb_phy::UsbPhy>|

and |::fidl::ServerEnd

<

::fuchsia_hardware_usb_phy::UsbPhy>|).

Public Methods

void ConnectStatusChanged (::fuchsia_hardware_usb_phy::wire::UsbPhyConnectStatusChangedRequest * 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 WireServer ()

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