class InstanceHandler

Defined at line 444 of file fidling/gen/src/connectivity/ethernet/drivers/asix-88179/asix-88179-test-helper/cpp/fidl/fuchsia.hardware.ax88179/cpp/wire_messaging.h

Facilitates member protocol registration for servers.

Public Methods

void InstanceHandler ()

Defined at line 450 of file fidling/gen/src/connectivity/ethernet/drivers/asix-88179/asix-88179-test-helper/cpp/fidl/fuchsia.hardware.ax88179/cpp/wire_messaging.h

void InstanceHandler (Members members)

Construct an instance handler for a FIDL service. Protocol handlers not present in |members|

will not be registered.

Defined at line 454 of file fidling/gen/src/connectivity/ethernet/drivers/asix-88179/asix-88179-test-helper/cpp/fidl/fuchsia.hardware.ax88179/cpp/wire_messaging.h

::zx::result<> add_hooks (MemberHandler< ::fuchsia_hardware_ax88179::Hooks> handler)

Adds member "hooks" to the service instance. |handler| will be

invoked on connection attempts.

# Errors

Returns ZX_ERR_ALREADY_EXISTS if the member was already added.

Returns ZX_ERR_INVALID_ARGS if |handler| is not initialized.

Defined at line 470 of file fidling/gen/src/connectivity/ethernet/drivers/asix-88179/asix-88179-test-helper/cpp/fidl/fuchsia.hardware.ax88179/cpp/wire_messaging.h

Records