template <>

class Server

Defined at line 144 of file fidling/gen/sdk/fidl/fuchsia.input.injection/fuchsia.input.injection/cpp/fidl/fuchsia.input.injection/cpp/natural_messaging.h

Public Methods

void Register (RegisterRequest & request, RegisterCompleter::Sync & completer)

Registers an input device represented by `device`.

On registration, the InputDeviceRegistry starts listening for input reports on the

InputReportsReader returned by device.GetInputReportsReader().

void RegisterAndGetDeviceInfo (RegisterAndGetDeviceInfoRequest & request, RegisterAndGetDeviceInfoCompleter::Sync & completer)

Registers an input device represented by `device` and return the device id of the

added test device.

On registration, the InputDeviceRegistry starts listening for input reports on the

InputReportsReader returned by device.GetInputReportsReader().

void Server ()

Defined at line 147 of file fidling/gen/sdk/fidl/fuchsia.input.injection/fuchsia.input.injection/cpp/fidl/fuchsia.input.injection/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 148 of file fidling/gen/sdk/fidl/fuchsia.input.injection/fuchsia.input.injection/cpp/fidl/fuchsia.input.injection/cpp/natural_messaging.h