HelloMesh: Difference between revisions
No edit summary |
(→Source: Fixed broken link) |
||
Line 60: | Line 60: | ||
===Source=== |
===Source=== |
||
http://dev.laptop.org/git |
http://dev.laptop.org/git/projects/hellomesh/ |
||
===RPMs=== |
===RPMs=== |
Latest revision as of 17:09, 3 December 2009
?Sugar icon}} | 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] +/- |
see more templates or propose new |
Description & Goals
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.
Goals
- demonstration of Tubes code
- has no activity logic to get in the way
- logs all collaboration-relevant actions to show what is happening
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)
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
Development
Discussion
Feature Requests
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.
Implementation Discussion
Version History
Source
http://dev.laptop.org/git/projects/hellomesh/
RPMs
none available