template <>

class Server

Defined at line 322 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/natural_messaging.h

Public Methods

void Inject (InjectRequest & 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 (InjectEventsRequest & 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 Server ()

Defined at line 325 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/natural_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 ~Server ()

Defined at line 326 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/natural_messaging.h