class Handler

Defined at line 5309 of file fidling/gen/sdk/fidl/fuchsia.hardware.light/fuchsia.hardware.light/hlcpp/fuchsia/hardware/light/cpp/fidl.h

Facilitates member protocol registration for servers.

Public Methods

void Handler (::fidl::ServiceHandlerBase * service)

Constructs a new |Handler|. Does not take ownership of |service|.

Defined at line 5312 of file fidling/gen/sdk/fidl/fuchsia.hardware.light/fuchsia.hardware.light/hlcpp/fuchsia/hardware/light/cpp/fidl.h

zx_status_t add_light (::fidl::InterfaceRequestHandler< ::fuchsia::hardware::light::Light> handler)

Adds member "light" to the service instance. |handler| is invoked when a connection

is made to the member protocol.

# Errors

Returns ZX_ERR_ALREADY_EXISTS if the member was already added.

Defined at line 5320 of file fidling/gen/sdk/fidl/fuchsia.hardware.light/fuchsia.hardware.light/hlcpp/fuchsia/hardware/light/cpp/fidl.h