template <>
class Server
Defined at line 673 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 ConnectToEndpoint (ConnectToEndpointRequest & request, ConnectToEndpointCompleter::Sync & completer)
Connects to endpoint. Returns
* ZX_ERR_NOT_FOUND: if device id and/or endpoint address does not exist.
* ZX_ERR_ALREADY_BOUND: if the endpoint is already bound.
void Server ()
Defined at line 676 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.hci/fuchsia.hardware.usb.hci/cpp/fidl/fuchsia.hardware.usb.hci/cpp/natural_messaging.h
void SetInterface (SetInterfaceRequest & request, SetInterfaceCompleter::Sync & completer)
Registers callbacks to the USB bus driver with the HCI driver.
void GetMaxDeviceCount (GetMaxDeviceCountCompleter::Sync & completer)
Returns the maximum number of USB devices that might be connected to the controller.
void EnableEndpoint (EnableEndpointRequest & request, EnableEndpointCompleter::Sync & completer)
Enables or disables an endpoint using parameters derived from |ep_desc|.
void GetCurrentFrame (GetCurrentFrameCompleter::Sync & completer)
Returns the current frame (in milliseconds), used for isochronous transfers.
void ConfigureHub (ConfigureHubRequest & request, ConfigureHubCompleter::Sync & completer)
Called by the USB hub driver to configure a newly enumerated USB hub.
void HubDeviceAdded (HubDeviceAddedRequest & request, HubDeviceAddedCompleter::Sync & completer)
Called by the USB hub driver when a new device is attached.
void HubDeviceRemoved (HubDeviceRemovedRequest & request, HubDeviceRemovedCompleter::Sync & completer)
Called by the USB hub driver when a device has been removed.
void HubDeviceReset (HubDeviceResetRequest & request, HubDeviceResetCompleter::Sync & completer)
Called by the USB hub driver when a device has been reset.
void ResetEndpoint (ResetEndpointRequest & request, ResetEndpointCompleter::Sync & completer)
Resets an endpoint on the specified device.
void ResetDevice (ResetDeviceRequest & request, ResetDeviceCompleter::Sync & completer)
Resets the specified device.
void GetMaxTransferSize (GetMaxTransferSizeRequest & request, GetMaxTransferSizeCompleter::Sync & completer)
Returns the maximum size of a packet that can be queued on the specified endpoint.
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 677 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.hci/fuchsia.hardware.usb.hci/cpp/fidl/fuchsia.hardware.usb.hci/cpp/natural_messaging.h