template <>

class WireServer

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

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_input_injection::InputDeviceRegistry>|

and |::fidl::ServerEnd

<

::fuchsia_input_injection::InputDeviceRegistry>|).

Public Methods

void Register (::fuchsia_input_injection::wire::InputDeviceRegistryRegisterRequest * 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 (::fuchsia_input_injection::wire::InputDeviceRegistryRegisterAndGetDeviceInfoRequest * 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 WireServer ()

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