template <>
class WireServer
Defined at line 4137 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.hci/fuchsia.hardware.usb.hci/cpp/fidl/fuchsia.hardware.usb.hci/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_hci::UsbHciInterface>|
and |::fidl::ServerEnd
<
::fuchsia_hardware_usb_hci::UsbHciInterface>|).
Public Methods
void AddDevice (::fuchsia_hardware_usb_hci::wire::UsbHciInterfaceAddDeviceRequest * request, AddDeviceCompleter::Sync & completer)
Notifies the USB bus driver that a new device has been added.
void RemoveDevice (::fuchsia_hardware_usb_hci::wire::UsbHciInterfaceRemoveDeviceRequest * request, RemoveDeviceCompleter::Sync & completer)
Notifies the USB bus driver that a device has been removed.
void ResetPort (::fuchsia_hardware_usb_hci::wire::UsbHciInterfaceResetPortRequest * request, ResetPortCompleter::Sync & completer)
Used by the HCI controller to reset a port on a USB hub.
void ReinitializeDevice (::fuchsia_hardware_usb_hci::wire::UsbHciInterfaceReinitializeDeviceRequest * request, ReinitializeDeviceCompleter::Sync & completer)
Used by the HCI controller to reinitialize a device after it has been reset.
void WireServer ()
Defined at line 4140 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.hci/fuchsia.hardware.usb.hci/cpp/fidl/fuchsia.hardware.usb.hci/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 4141 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.hci/fuchsia.hardware.usb.hci/cpp/fidl/fuchsia.hardware.usb.hci/cpp/wire_messaging.h