diff options
author | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 10:35:50 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 10:35:50 +0000 |
commit | 4311de34b4e46bdca9c650f235fb0ab015a0847f (patch) | |
tree | 37d40e4966a2d7b2eac5122e944ba6b673910e97 /dbus.txt | |
parent | 47f200386b742183ea7a131ef45236e47984be59 (diff) | |
download | gvfs-4311de34b4e46bdca9c650f235fb0ab015a0847f.tar.gz |
Initial work on the new way to track mountpoints.
Daemon side only.
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1165492556 +0100
svn path=/trunk/; revision=219
Diffstat (limited to 'dbus.txt')
-rw-r--r-- | dbus.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dbus.txt b/dbus.txt new file mode 100644 index 00000000..88468d7d --- /dev/null +++ b/dbus.txt @@ -0,0 +1,21 @@ +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. + |