template <>

class WireServer

Defined at line 692 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_ui_display_singleton::DisplayPower>|

and |::fidl::ServerEnd

<

::fuchsia_ui_display_singleton::DisplayPower>|).

Public Methods

void SetPowerMode (::fuchsia_ui_display_singleton::wire::DisplayPowerSetPowerModeRequest * request, SetPowerModeCompleter::Sync & completer)

Set the power state of the default connected display device to `power_mode`.

Errors:

- `ZX_ERR_NOT_FOUND`: There is no connected display.

- `ZX_ERR_NOT_SUPPORTED`: The default connected display driver or hardware

does not support the requested power mode.

- `ZX_ERR_INTERNAL`: Operation failed for another reason.

void WireServer ()

Defined at line 695 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/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 696 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/cpp/wire_messaging.h