template <>

class WireServer

Defined at line 250 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector.dso/fuchsia.ui.pointerinjector.dso/cpp/fidl/fuchsia.ui.pointerinjector.dso/cpp/driver/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_ui_pointerinjector_dso::Registry>|

and |::fdf::ServerEnd

<

::fuchsia_ui_pointerinjector_dso::Registry>|).

Public Methods

void Register (::fuchsia_ui_pointerinjector_dso::wire::RegistryRegisterRequest * request, fdf::Arena & arena, RegisterCompleter::Sync & completer)

Sets up a context for a |Device|, the target for the |Device|, and

directs the |Device| at the target via a viewport, positioned in the

context. These parameters are specified in a |Config|.

If |config| is invalid (e.g., missing important data), the |Device|

request will be denied: the channel will be closed.

The return event tells the caller that (1) the server has processed the

call, and (2) the |Device| is connected.

void WireServer ()

Defined at line 253 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector.dso/fuchsia.ui.pointerinjector.dso/cpp/fidl/fuchsia.ui.pointerinjector.dso/cpp/driver/wire_messaging.h

Handler bind_handler (fdf_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 254 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector.dso/fuchsia.ui.pointerinjector.dso/cpp/fidl/fuchsia.ui.pointerinjector.dso/cpp/driver/wire_messaging.h