HelloMesh: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New bundle version)
Line 14: Line 14:
===Summary===
===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 [[Tubes Tutorial]] for an explanation of what it does.
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.
HelloMesh was originally produced from the [[Connect]] activity code which functioned as a testbed for Tubes implementation.

Revision as of 11:27, 13 June 2008

  This page is monitored by the OLPC team.
  Please copy/paste "{{Translationlist | xx | origlang=en | translated={{{translated}}}}}" (where xx is ISO 639 language code for your translation) to HelloMesh/translations HowTo [ID# 138152]  +/-  
HelloMesh.png

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?p=projects/hellomesh

RPMs

none available

Resources