template <>
class WireServer
Defined at line 4226 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::Keyboard>|
and |::fidl::ServerEnd
<
::fuchsia_ui_test_input::Keyboard>|).
Public Methods
void SimulateUsAsciiTextEntry (::fuchsia_ui_test_input::wire::KeyboardSimulateUsAsciiTextEntryRequest * request, SimulateUsAsciiTextEntryCompleter::Sync & completer)
Simulates input of the set of keystrokes required to type `text`,
as if on a US QWERTY keyboard.
US ASCII text get mapped to the corresponding key presses.
For example `a` gets mapped into a press and
a followup release of the key `a` on the US QWERTY keyboard. Also,
`A` gets mapped into a press of the `Shift` key, followed by a press
and release of `a`.
For convenience, the `
` and `
` get converted into `Enter` and `Tab`
keys respectively.
void SimulateKeyEvent (::fuchsia_ui_test_input::wire::KeyboardSimulateKeyEventRequest * request, SimulateKeyEventCompleter::Sync & completer)
Simulate a key event by a keyboard input report.
KeyboardInputReport includes a list of keys that are currently pressing
down. The report can represent key down / up by comparing with previous
reports received.
void SimulateKeyPress (::fuchsia_ui_test_input::wire::KeyboardSimulateKeyPressRequest * request, SimulateKeyPressCompleter::Sync & completer)
Simulate one key press includes down and up event.
void WireServer ()
Defined at line 4229 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 4230 of file fidling/gen/sdk/fidl/fuchsia.ui.test.input/fuchsia.ui.test.input/cpp/fidl/fuchsia.ui.test.input/cpp/wire_messaging.h