tree: ae771c2a5f9a3f572981fe71e3e0d61068f883c4 [path history] [tgz]
  1. meta/
  2. src/
  3. BUILD.gn
  4. README.md
src/session/examples/elements/element_session/README.md

element_session

Reviewed on: 2020-02-04

element_session creates a sample session that exposes the ElementManager and ElementPing services. It then listens for messages on these two services.

ElementManager Service

element_session listens for a ProposeElement message from the ElementManager service. Once received, the element_session generates a name for the proposed element and tells the ElementManager to add the element to the component tree.

ElementPing Service

element_session listens for a Ping message from the ElementPing Service and logs that it was received.