template <>
class WireServer
Defined at line 6814 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_ui_composition::FlatlandDisplay>|
and |::fidl::ServerEnd
<
::fuchsia_ui_composition::FlatlandDisplay>|).
Public Methods
void SetContent (::fuchsia_ui_composition::wire::FlatlandDisplaySetContentRequest * request, SetContentCompleter::Sync & completer)
void SetDevicePixelRatio (::fuchsia_ui_composition::wire::FlatlandDisplaySetDevicePixelRatioRequest * request, SetDevicePixelRatioCompleter::Sync & completer)
Sets the ratio of display's physical pixels to device independent pixels that should be used
for the tree of Flatland content that are attached to this display. See
[`LayoutInfo.device_pixel_ratio`] for details.
The default value is (1.0, 1.0). The valid values are 1.0 and above.
void WireServer ()
Defined at line 6817 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/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 6818 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_messaging.h