HelloMesh

From OLPC

Jump to: navigation, search
   This activity is now hosted at the Sugar Activity Library.

The information here is likely to be out-of-date. Consult the new pages for "HelloMesh" first:


  Please copy/paste "{{Translationlist | xx | origlang=en | translated={{{translated}}}}}" (where xx is ISO 639 language code for your translation) to HelloMesh/translations HowTo [ID# 226093]  +/-  
HelloMesh
Image:HelloMesh.png

see more templates or propose new

Contents

[edit] Description & Goals

[edit] Summary

HelloMesh is a demonstration of D-Bus Tubes functionality for activity collaboration. As an activity it does nothing other than be sharable. It is intended to have sample code for Tubes operations. See Collaboration Tutorial for an explanation of what it does.

HelloMesh was originally produced from the Connect activity code which functioned as a testbed for Tubes implementation.

[edit] Goals

  • demonstration of Tubes code
  • has no activity logic to get in the way
  • logs all collaboration-relevant actions to show what is happening

[edit] Collaboration

HelloMesh is a trivial demo of collaboration. To share your session you select the scope in the toolbar. The icon will be visible in the mesh view and the session can be joined by others.

The actions in sharing and joining are logged in the log file: ~/.sugar/default/logs/org.laptop.HelloMesh-1.log (On an XO, make sure you have debug logs enabled: see Attaching Sugar Logs to Tickets)

[edit] Scenarios

  • A opens an instance and shares it
  • B joins this instance
  • B sends Hello signal
  • A calls B's World method to sync B
  • C joins the instance
  • C sends Hello signal
  • A and B both call C's World method to sync - one wins

[edit] Development

[edit] Discussion

[edit] Feature Requests

[edit] Activity Logic

Some trivial activity logic like displaying a button, a text input box etc. could be added to show some visual indication, or even a text box showing the messages currently going into the logs.

[edit] Implementation Discussion

[edit] Version History

[edit] Source

http://dev.laptop.org/git/projects/hellomesh/

[edit] RPMs

none available
===Resources===
Personal tools
  • Log in / create account
  • Login with OpenID
About OLPC
About the XO
Projects
OLPC wiki
Toolbox