[Sugar-devel] creating seperate dbus-tubes in a single instance of a shared actvity

Benjamin M. Schwartz bmschwar at fas.harvard.edu
Thu Aug 20 08:05:38 EDT 2009


Creating multiple D-Bus tubes may or may not be a good idea in your case.
 Each D-Bus tube can support many simultaneous parallel transmissions,
because D-Bus provides a routed transport.  Every D-Bus object has an
interface and a path, which allows D-Bus objects to address each other
individually.  In this way, Gnome uses a single (local) session bus for
all your desktop D-Bus needs, and an activity can typically use a single Tube.

Within Sugar, there's not much incentive to use a single Tube with many
objects or many Tubes.  Outside of Sugar, the service type of a Tube is
used to determine which applications can connect to it, so each complete
"service" should get a single Tube, labeled with the service's well-known
name.

Eventually, this will be documented at

http://people.collabora.co.uk/~davyd/telepathy-book/

--Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20090820/6d7d7f98/attachment.pgp 


More information about the Sugar-devel mailing list