template <>

class Server

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

Public Methods

void AddDevice (AddDeviceRequest & request, AddDeviceCompleter::Sync & completer)

Notifies the USB bus driver that a new device has been added.

void RemoveDevice (RemoveDeviceRequest & request, RemoveDeviceCompleter::Sync & completer)

Notifies the USB bus driver that a device has been removed.

void ResetPort (ResetPortRequest & request, ResetPortCompleter::Sync & completer)

Used by the HCI controller to reset a port on a USB hub.

void ReinitializeDevice (ReinitializeDeviceRequest & request, ReinitializeDeviceCompleter::Sync & completer)

Used by the HCI controller to reinitialize a device after it has been reset.

void Server ()

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