template <>

class WireServer

Defined at line 312 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::Keyboard>|

and |::fidl::ServerEnd

<

::fuchsia_ui_input3::Keyboard>|).

Public Methods

void AddListener (::fuchsia_ui_input3::wire::KeyboardAddListenerRequest * request, AddListenerCompleter::Sync & completer)

Add a key event listener for the specified View.

If multiple listeners are added, each will receive key events independently and

should respond with a `Status`.

The client calling `AddListener` should keep the connection to `Keyboard` alive

for as long as the events from `KeyboardListener` need to be received. Dropping the

connection to the `Keyboard` protocol will terminate `KeyboardListener` as well.

void WireServer ()

Defined at line 315 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 316 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/cpp/fidl/fuchsia.ui.input3/cpp/wire_messaging.h