class AsyncEventHandler

Defined at line 49 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/internal/client_details.h

The base class for all asynchronous event handlers, regardless of domain

object flavor or protocol type.

Public Methods

void ~AsyncEventHandler ()

Defined at line 51 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/internal/client_details.h

void on_fidl_error (::fidl::UnbindInfo error)

|on_fidl_error| is invoked when the client encounters a terminal error:

- The server-end of the channel was closed.

- An epitaph was received.

- Decoding or encoding failed.

- An invalid or unknown message was encountered.

- Error waiting on, reading from, or writing to the channel.

It uses snake-case to differentiate from virtual methods corresponding to

FIDL events.

|info| contains the detailed reason for stopping message dispatch.

|on_fidl_error| will be invoked on a dispatcher thread, unless the user

shuts down the async dispatcher while there are active client bindings

associated with it. In that case, |on_fidl_error| will be synchronously

invoked on the thread calling dispatcher shutdown.

Defined at line 70 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/internal/client_details.h