template <>

class Server

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

Public Methods

void Server ()

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

void WatchFocusKoidChain (WatchFocusKoidChainRequest & 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.

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 ~Server ()

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