HelloMesh: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Create page)
 
(→‎Source: Fixed broken link)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Activity migrated to sl.o
{{OLPC}}
| git=http://git.sugarlabs.org/projects/hello-mesh
}}

{{Translations}}
{{Translations}}
{{Olpcboxtop|toptext=[[{{PAGENAME}}|HelloMesh]]}}
{{Olpcboxtop|toptext=[[{{PAGENAME}}|HelloMesh]]}}
{{ OBX activity |[[Image:HelloMesh.png]]|extra<!--|{{{text}}}--> }}
{{ OBX activity |[[Image:HelloMesh.png]]|extra<!--|{{{text}}}--> }}
{{ OBX source dev|hellomesh}}
{{ OBX source dev|projects/hellomesh}}
{{ OBX xobundle |http://dev.laptop.org/~morgan/bundles/HelloMesh-3.xo|HelloMesh-3}}
{{ OBX team |[[user:Morgs|Morgan Collett]]}}
{{ OBX team |[[user:Morgs|Morgan Collett]]}}
<small>see more [[:Category:OBX templates|templates]] or [[OBX proposals|propose new]]</small>
<small>see more [[:Category:OBX templates|templates]] or [[OBX proposals|propose new]]</small>
Line 13: Line 17:
===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.
Line 56: Line 60:
===Source===
===Source===


http://dev.laptop.org/git.do?p=projects/hellomesh
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]  +/-  
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/projects/hellomesh/

RPMs

none available

Resources