class InstanceHandler
Defined at line 734 of file fidling/gen/src/devices/tests/v2/services/fuchsia.services.test/cpp/fidl/fuchsia.services.test/cpp/wire_messaging.h
Facilitates member protocol registration for servers.
Public Methods
void InstanceHandler ()
Defined at line 741 of file fidling/gen/src/devices/tests/v2/services/fuchsia.services.test/cpp/fidl/fuchsia.services.test/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 745 of file fidling/gen/src/devices/tests/v2/services/fuchsia.services.test/cpp/fidl/fuchsia.services.test/cpp/wire_messaging.h
::zx::result<> add_control (MemberHandler< ::fuchsia_services_test::ControlPlane> handler)
Adds member "control" 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 764 of file fidling/gen/src/devices/tests/v2/services/fuchsia.services.test/cpp/fidl/fuchsia.services.test/cpp/wire_messaging.h
::zx::result<> add_data (MemberHandler< ::fuchsia_services_test::DataPlane> handler)
Adds member "data" 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 776 of file fidling/gen/src/devices/tests/v2/services/fuchsia.services.test/cpp/fidl/fuchsia.services.test/cpp/wire_messaging.h