diff options
author | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 10:38:43 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 10:38:43 +0000 |
commit | dbdf5558756bc1469e017d0f9b638affc9289bba (patch) | |
tree | 4ec20061ddaa0e55270016a247374ff2d939581a /dbus.txt | |
parent | 3eb2c102c1d95a7cd205267754a38799792a66c2 (diff) | |
download | gvfs-dbdf5558756bc1469e017d0f9b638affc9289bba.tar.gz |
Use NameLost instead of NameOwnerChanged
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1165844712 +0100
svn path=/trunk/; revision=223
Diffstat (limited to 'dbus.txt')
-rw-r--r-- | dbus.txt | 32 |
1 files changed, 1 insertions, 31 deletions
@@ -1,37 +1,7 @@ -The "main" daemon owns the org.gtk.vfs.Daemon bus name -When the main daemon looses org.gtk.vfs.Daemon, it quits. - -each "daemon" has a unique session bus id - -Each daemon registers /org/gtk/vfs/Daemon which supports -operations like GetConnection and CancelOp on iface org.gtk.vfs.Daemon. - -The main daemon supports ListMountpoints, iface org.gtk.vfs.MountpointTracker -at /org/gtk/vfs/MountpointTracker. It does this by tracking signals for availible -mountpoints and deaths of vfs daemons. - -Each "mountpoint" in a daemon registers a org.gtk.vfs.Mountpoint iface -at a path like /org/gtk/vfs/mountpoint/N. It also signals availibility of this -mountpoint (with the bus id and the "uri prefix") at startup and when there is -a new owner of "org.gtk.vfs.Daemon". - -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/mount/smb.$server.$share which +It also instantiates a Mountpoint interface at /org/gtk/vfs/mount/smb/$server/$share which listens to operations. Each daemon that contains at least one mountpoint also registers a org.gtk.vfs.Daemon interface |