Service names and object paths
thiago at kde.org
Sun Dec 26 17:00:25 PST 2010
On Sunday, 26 de December de 2010 18:09:27 Thomas Themel wrote:
> > - when a connection is disconnected, all its bus names are released,
> > and
> > the object paths previously registered become available for
> > registration
> > by other clients
Technically, no. This is again depending on the wrong first assumption, that
object paths are a bus resource. They are not, therefore the question doesn't
Object paths' continued existence depends solely on the implementation of the
binding you're using. On some, it's possible to disconnect from the bus and
persist the set of object paths registered. On some others, it's not possible.
Either way, when a connection disconnects, all of its objects are
inaccessible. If it reconnects, the objects being presented to the bus bear no
resemblance to the original connection: from other applications' point of
view, it may be the same peer or a new one.
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the dbus