class InstanceHandler
Defined at line 1858 of file fidling/gen/sdk/fidl/fuchsia.lowpan.spinel/fuchsia.lowpan.spinel/cpp/fidl/fuchsia.lowpan.spinel/cpp/wire_messaging.h
Facilitates member protocol registration for servers.
Public Methods
void InstanceHandler ()
Defined at line 1864 of file fidling/gen/sdk/fidl/fuchsia.lowpan.spinel/fuchsia.lowpan.spinel/cpp/fidl/fuchsia.lowpan.spinel/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 1868 of file fidling/gen/sdk/fidl/fuchsia.lowpan.spinel/fuchsia.lowpan.spinel/cpp/fidl/fuchsia.lowpan.spinel/cpp/wire_messaging.h
::zx::result<> add_device_setup (MemberHandler< ::fuchsia_lowpan_spinel::DeviceSetup> handler)
Adds member "device_setup" 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 1884 of file fidling/gen/sdk/fidl/fuchsia.lowpan.spinel/fuchsia.lowpan.spinel/cpp/fidl/fuchsia.lowpan.spinel/cpp/wire_messaging.h