template <>

class WireServer

Defined at line 3052 of file fidling/gen/sdk/fidl/fuchsia.ui.test.input/fuchsia.ui.test.input/cpp/fidl/fuchsia.ui.test.input/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_ui_test_input::Registry>|

and |::fidl::ServerEnd

<

::fuchsia_ui_test_input::Registry>|).

Public Methods

void RegisterTouchScreen (::fuchsia_ui_test_input::wire::RegistryRegisterTouchScreenRequest * request, RegisterTouchScreenCompleter::Sync & completer)

Enables the client to inject touch events using the corresponding

client end to `device`.

Clients are allowed at most one in-flight call at a time. Subsequent

calls must wait until the acknowledgment returns. Non-compliance

results in channel closure.

The `fuchsia.ui.test.input.TouchScreen` channel will remain open even

if the `Registry` connection closes.

void RegisterTouchScreenAndGetDeviceInfo (::fuchsia_ui_test_input::wire::RegistryRegisterTouchScreenAndGetDeviceInfoRequest * request, RegisterTouchScreenAndGetDeviceInfoCompleter::Sync & completer)

Enables the client to inject touch events using the corresponding

client end to `device`. Returns device_id of the created device.

Clients are allowed at most one in-flight call at a time. Subsequent

calls must wait until the acknowledgment returns. Non-compliance

results in channel closure.

The `fuchsia.ui.test.input.TouchScreen` channel will remain open even

if the `Registry` connection closes.

void RegisterMediaButtonsDevice (::fuchsia_ui_test_input::wire::RegistryRegisterMediaButtonsDeviceRequest * request, RegisterMediaButtonsDeviceCompleter::Sync & completer)

Enables the client to inject media buttons events using the

corresponding client end to `device`.

Clients are allowed at most one in-flight call at a time. Subsequent

calls must wait until the acknowledgment returns. Non-compliance

results in channel closure.

The `fuchsia.ui.test.input.MediaButtonsDevice` channel will remain open

even if the `Registry` connection closes.

void RegisterMediaButtonsDeviceAndGetDeviceInfo (::fuchsia_ui_test_input::wire::RegistryRegisterMediaButtonsDeviceAndGetDeviceInfoRequest * request, RegisterMediaButtonsDeviceAndGetDeviceInfoCompleter::Sync & completer)

Enables the client to inject media buttons events using the

corresponding client end to `device`. Returns device_id of the created device.

Clients are allowed at most one in-flight call at a time. Subsequent

calls must wait until the acknowledgment returns. Non-compliance

results in channel closure.

The `fuchsia.ui.test.input.MediaButtonsDevice` channel will remain open

even if the `Registry` connection closes.

void RegisterKeyboard (::fuchsia_ui_test_input::wire::RegistryRegisterKeyboardRequest * request, RegisterKeyboardCompleter::Sync & completer)

Enables the client to inject keyboard events using the corresponding

client end to `device`.

Clients are allowed at most one in-flight call at a time. Subsequent

calls must wait until the acknowledgment returns. Non-compliance

results in channel closure.

The `fuchsia.ui.test.input.Keyboard` channel will remain open even

if the `Registry` connection closes.

void RegisterKeyboardAndGetDeviceInfo (::fuchsia_ui_test_input::wire::RegistryRegisterKeyboardAndGetDeviceInfoRequest * request, RegisterKeyboardAndGetDeviceInfoCompleter::Sync & completer)

Enables the client to inject keyboard events using the corresponding

client end to `device`. Returns device_id of the created device.

Clients are allowed at most one in-flight call at a time. Subsequent

calls must wait until the acknowledgment returns. Non-compliance

results in channel closure.

The `fuchsia.ui.test.input.Keyboard` channel will remain open even

if the `Registry` connection closes.

void RegisterMouse (::fuchsia_ui_test_input::wire::RegistryRegisterMouseRequest * request, RegisterMouseCompleter::Sync & completer)

Enables the client to inject mouse events using the corresponding

client end to `device`.

Clients are allowed at most one in-flight call at a time. Subsequent

calls must wait until the acknowledgment returns. Non-compliance

results in channel closure.

The `fuchsia.ui.test.input.Mouse` channel will remain open even

if the `Registry` connection closes.

void RegisterMouseAndGetDeviceInfo (::fuchsia_ui_test_input::wire::RegistryRegisterMouseAndGetDeviceInfoRequest * request, RegisterMouseAndGetDeviceInfoCompleter::Sync & completer)

Enables the client to inject mouse events using the corresponding

client end to `device`. Returns device_id of the created device.

Clients are allowed at most one in-flight call at a time. Subsequent

calls must wait until the acknowledgment returns. Non-compliance

results in channel closure.

The `fuchsia.ui.test.input.Mouse` channel will remain open even

if the `Registry` connection closes.

void WireServer ()

Defined at line 3055 of file fidling/gen/sdk/fidl/fuchsia.ui.test.input/fuchsia.ui.test.input/cpp/fidl/fuchsia.ui.test.input/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 3056 of file fidling/gen/sdk/fidl/fuchsia.ui.test.input/fuchsia.ui.test.input/cpp/fidl/fuchsia.ui.test.input/cpp/wire_messaging.h