template <>
class WireServer
Defined at line 738 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::Device>|
and |::fidl::ServerEnd
<
::fuchsia_ui_pointerinjector::Device>|).
Public Methods
void Inject (::fuchsia_ui_pointerinjector::wire::DeviceInjectRequest * request, InjectCompleter::Sync & completer)
Injects events into a target.
Batching: The caller is expected to batch-inject all events that share the
same timestamp (e.g., multiple finger samples). There may be multiple such
batches per injection call.
Flow control: The caller is allowed at most one in-flight |Inject| call
at at time: subsequent |Inject| calls must wait until the acknowledgment
returns. Non-compliance results in channel closure.
void InjectEvents (::fuchsia_ui_pointerinjector::wire::DeviceInjectRequest * request, InjectEventsCompleter::Sync & completer)
Injects events into a target.
Batching: The caller is expected to batch-inject all events that share the
same timestamp (e.g., multiple finger samples). There may be multiple such
batches per injection call.
void WireServer ()
Defined at line 741 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 742 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_messaging.h