template <>
class Server
Defined at line 307 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/natural_messaging.h
Public Methods
void Server ()
Defined at line 310 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/natural_messaging.h
void UpdateSemanticNodes (UpdateSemanticNodesRequest & request, UpdateSemanticNodesCompleter::Sync & completer)
Sends new/updated nodes to the root to add to the cache on the next commit.
void DeleteSemanticNodes (DeleteSemanticNodesRequest & request, DeleteSemanticNodesCompleter::Sync & completer)
Tells the root to remove nodes with node_ids from the semantic tree on the next commit.
void CommitUpdates (CommitUpdatesCompleter::Sync & completer)
Commits pending changes to node tree associated with the view using UpdateSemanticNodes and
DeleteSemanticNodes. Updates are processed in the order in which they are received. If the
committed updates result in an ill-formed tree (for example a missing root node or a cycle)
the semantic manager will close the channel.
void SendSemanticEvent (SendSemanticEventRequest & request, SendSemanticEventCompleter::Sync & completer)
Sends a Semantic Event related to this tree. This applies immediately
and does not wait for CommitUpdates(). It is the caller's
responsibility to fire events on nodes that have been already commited.
The return callback is invoked to acknowledge that the event was received.
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 311 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/natural_messaging.h