template <>

class WireServer

Defined at line 1616 of file fidling/gen/sdk/fidl/fuchsia.ui.policy/fuchsia.ui.policy/cpp/fidl/fuchsia.ui.policy/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_ui_policy::DisplayBacklight>|

and |::fidl::ServerEnd

<

::fuchsia_ui_policy::DisplayBacklight>|).

Public Methods

void SetMinimumRgb (::fuchsia_ui_policy::wire::DisplayBacklightSetMinimumRgbRequest * request, SetMinimumRgbCompleter::Sync & completer)

Submits a new minimum color channel value for display backlight.

The valid range for a minimum value is [0, 255] (inclusive). For a new

minimum value M, each color channel's range will be limited to [M, 255].

Flow control: The caller is allowed at most one in-flight

|SetMinimumRgb| at at time. Subsequent calls must wait until the

acknowledgment returns. Non-compliance results in channel closure.

void WireServer ()

Defined at line 1619 of file fidling/gen/sdk/fidl/fuchsia.ui.policy/fuchsia.ui.policy/cpp/fidl/fuchsia.ui.policy/cpp/wire_messaging.h

Handler bind_handler (async_dispatcher_t * dispatcher)

|bind_handler| returns a handler that binds incoming connections to this

server implementation.

The returned handler borrows the server instance.

The server must outlive the provided |dispatcher|. Only after

the dispatcher is shutdown will it be safe to destroy the servers.

The server should not be moved.

void ~WireServer ()

Defined at line 1620 of file fidling/gen/sdk/fidl/fuchsia.ui.policy/fuchsia.ui.policy/cpp/fidl/fuchsia.ui.policy/cpp/wire_messaging.h