template <>

class Server

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

Public Methods

void Register (RegisterRequest & 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 Server ()

Defined at line 136 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 137 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/natural_messaging.h