template <>
class WireServer
Defined at line 314 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_ui_pointerinjector::Registry>|
and |::fidl::ServerEnd
<
::fuchsia_ui_pointerinjector::Registry>|).
Public Methods
void Register (::fuchsia_ui_pointerinjector::wire::RegistryRegisterRequest * request, RegisterCompleter::Sync & completer)
Sets up a context for a |Device|, the target for the |Device|, and
directs the |Device| at the target via a viewport, positioned in the
context. These parameters are specified in a |Config|.
If |config| is invalid (e.g., missing important data), the |Device|
request will be denied: the channel will be closed.
The return event tells the caller that (1) the server has processed the
call, and (2) the |Device| is connected.
void WireServer ()
Defined at line 317 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/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 318 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_messaging.h