template <>
class WireServer
Defined at line 1052 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/cpp/fidl/fuchsia.ui.input3/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_ui_input3::KeyEventInjector>|
and |::fidl::ServerEnd
<
::fuchsia_ui_input3::KeyEventInjector>|).
Public Methods
void Inject (::fuchsia_ui_input3::wire::KeyEventInjectorInjectRequest * request, InjectCompleter::Sync & completer)
Inject an event into the keyboard subsystem.
# Returns
* `HANDLED` if the keyboard subsystem delivered the event to a consumer,
and the consumer reported that it `HANDLED` the event
* `NOT_HANDLED` if the keyboard subsystem did not deliever the event to
any consumers, or no consumer reported that it `HANDLED` the event.
void WireServer ()
Defined at line 1055 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/cpp/fidl/fuchsia.ui.input3/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 1056 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/cpp/fidl/fuchsia.ui.input3/cpp/wire_messaging.h