From 487f13451d9f8c50858e9348b1e5f8612433132e Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sun, 23 Jan 2005 03:53:34 +0000 Subject: couple of minor tweaks --- doc/dbus-faq.xml | 20 ++++++++++---------- doc/dbus-tutorial.xml | 8 +++++++- 2 files changed, 17 insertions(+), 11 deletions(-) (limited to 'doc') diff --git a/doc/dbus-faq.xml b/doc/dbus-faq.xml index 573c3089..b197297e 100644 --- a/doc/dbus-faq.xml +++ b/doc/dbus-faq.xml @@ -97,11 +97,10 @@ - If you imagine a C++ program that implements a network - service, then the bus name is the domain name - of the computer running this C++ program, the object path - is a C++ object instance pointer, and an interface is a C++ - class (a pure virtual or abstract class, to be exact). + If you imagine a C++ program that implements a network service, then + the bus name is the hostname of the computer running this C++ program, + the object path is a C++ object instance pointer, and an interface is + a C++ class (a pure virtual or abstract class, to be exact). In Java terms, the object path is an object reference, @@ -120,11 +119,12 @@ However, a text editor application could as easily own multiple bus - names (for example, org.kde.KWrite), have multiple - objects (maybe /org/kde/documents/4352), - and each object could implement multiple interfaces, - such as org.freedesktop.Introspectable, - org.freedesktop.BasicTextField, + names (for example, org.kde.KWrite in addition to + generic TextEditor), have multiple objects (maybe + /org/kde/documents/4352 where the number changes + according to the document), and each object could implement multiple + interfaces, such as org.freedesktop.Introspectable, + org.freedesktop.BasicTextField, org.kde.RichTextDocument. diff --git a/doc/dbus-tutorial.xml b/doc/dbus-tutorial.xml index 6f5afc07..22906ac9 100644 --- a/doc/dbus-tutorial.xml +++ b/doc/dbus-tutorial.xml @@ -107,7 +107,7 @@ communication" or "networking" in their stated purpose: CORBA, DCE, COM/DCOM, DCOM, DCOP, XML-RPC, SOAP, + + + Here is a diagram (png svg) that may help you visualize the concepts + that follow. + Objects and Object Paths -- cgit