template <>

class AsyncEventHandler

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

Public Methods

void AsyncEventHandler ()

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

void OnCompletion (::fidl::Event< ::fuchsia_hardware_usb_endpoint::Endpoint::OnCompletion> & )

Called on a completion to notify the device driver of an completion event.

Note that if more than REQUEST_MAX successful requests with defer_completion == true have

been seen, driver may call OnCompletion multiple times when defer_completion == false is

seen (or failure happens) to return all seen requests to the client.