template <>

class WireServer

Defined at line 867 of file fidling/gen/sdk/fidl/fuchsia.ui.focus/fuchsia.ui.focus/cpp/fidl/fuchsia.ui.focus/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_ui_focus::FocusChainProvider>|

and |::fidl::ServerEnd

<

::fuchsia_ui_focus::FocusChainProvider>|).

Public Methods

void WatchFocusKoidChain (::fuchsia_ui_focus::wire::FocusChainProviderWatchFocusKoidChainRequest * request, WatchFocusKoidChainCompleter::Sync & completer)

Subscribe to changes in the focus chain (koids only) with a hanging-get

pattern.

The server responds immediately with the initial state, and afterwards

whenever a change occurs. Updates are not queued up for slow clients;

only the latest state is sent.

It is invalid to call this method while a previous call is pending.

Doing so will cause the server end of the protocol to be closed.

void WireServer ()

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