class Handler

Defined at line 6630 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/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 6633 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

zx_status_t add_device (::fidl::InterfaceRequestHandler< ::fuchsia::hardware::network::Device> handler)

Adds member "device" 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 6641 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

zx_status_t add_device_topology (::fidl::InterfaceRequestHandler< ::fuchsia::device::fs::TopologicalPath> handler)

Adds member "device_topology" 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 6650 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h