diff options
author | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 10:37:17 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 10:37:17 +0000 |
commit | 31d8952c4e4e97018537902993889dcd5299c991 (patch) | |
tree | e4c5b065dcd0227fd3108d7d9fb2902aad3e87b0 /dbus.txt | |
parent | a9784aaf042b61102e1b311ec9a4e2f33d771bd7 (diff) | |
download | gvfs-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.txt | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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. + |