class InstanceHandler
Defined at line 590 of file fidling/gen/src/devices/tests/v2/runtime-dispatcher/fuchsia.runtime.test/cpp/fidl/fuchsia.runtime.test/cpp/wire_messaging.h
Facilitates member protocol registration for servers.
Public Methods
void InstanceHandler ()
Defined at line 596 of file fidling/gen/src/devices/tests/v2/runtime-dispatcher/fuchsia.runtime.test/cpp/fidl/fuchsia.runtime.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 600 of file fidling/gen/src/devices/tests/v2/runtime-dispatcher/fuchsia.runtime.test/cpp/fidl/fuchsia.runtime.test/cpp/wire_messaging.h
::zx::result<> add_handshake (MemberHandler< ::fuchsia_runtime_test::Handshake> handler)
Adds member "handshake" 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 616 of file fidling/gen/src/devices/tests/v2/runtime-dispatcher/fuchsia.runtime.test/cpp/fidl/fuchsia.runtime.test/cpp/wire_messaging.h
::zx::result<> add_setter (MemberHandler< ::fuchsia_runtime_test::Setter> handler)
Adds member "setter" 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 774 of file fidling/gen/src/devices/tests/v2/runtime-protocol/fuchsia.runtime.test/cpp/fidl/fuchsia.runtime.test/cpp/driver/wire_messaging.h
::zx::result<> add_getter (MemberHandler< ::fuchsia_runtime_test::Getter> handler)
Adds member "getter" 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 786 of file fidling/gen/src/devices/tests/v2/runtime-protocol/fuchsia.runtime.test/cpp/fidl/fuchsia.runtime.test/cpp/driver/wire_messaging.h