summaryrefslogtreecommitdiff
path: root/dbus.txt
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 10:37:17 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 10:37:17 +0000
commit31d8952c4e4e97018537902993889dcd5299c991 (patch)
treee4c5b065dcd0227fd3108d7d9fb2902aad3e87b0 /dbus.txt
parenta9784aaf042b61102e1b311ec9a4e2f33d771bd7 (diff)
downloadgvfs-31d8952c4e4e97018537902993889dcd5299c991.tar.gz
Further work on new dbus model
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1165831898 +0100 svn path=/trunk/; revision=221
Diffstat (limited to 'dbus.txt')
-rw-r--r--dbus.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/dbus.txt b/dbus.txt
index 88468d7d..c6c7a7e1 100644
--- a/dbus.txt
+++ b/dbus.txt
@@ -19,3 +19,25 @@ At startup the client calls ListMountpoints to get a list of all active
mountpoints. It then continues to track changes by looking at signals for
availibility and daemon deaths.
+----------
+
+ideas:
+NameLost when you loose a name
+GetNameOwner - gets the owners name
+
+
+---- New version --------------------------------------------------------------------
+
+All info for mapping uri -> dbus name + remainder path is stored in config files read by the client at startup.
+
+Each "mountpoint" in a mountpoint daemon owns a name like "org.gtk.vfs.mount.smb.$server.$share".
+It also instantiates a Mountpoint interface at /org/gtk/vfs/mountpoint/smb.$server.$share which
+listens to operations.
+
+Each daemon that contains at least one mountpoint also registers a org.gtk.vfs.Daemon interface
+at /org/gtk/vfs/Daemon which supports operations like GetConnection and CancelOp.
+
+Clients use GetNameOwner to map uri -> mountpoint name -> owner of name -> GetConnection call so that
+it can handle multiple mountpoints in each daemon. This can be cached, and NameOwnerChanged can be used
+to invalidate the cache.
+