[patch] Assorted changes to the mono bindings
Jon Trowbridge
trow at ximian.com
Mon Aug 30 09:32:58 PDT 2004
The attached patch:
* Exposes the message that is being processed via a static property,
DBus.Message.Current. We need this to be able to map object back to the
service that sent the message.
* Binds dbus_bus_get_base_service as a DBus.Connection property.
* Binds dbus_message_get_sender and dbus_message_get_destination as
DBus.Message properties.
* Defines a DBus.BusDriver class for using the org.freedesktop.DBus
service. Among other things, this makes it easy to get ServiceCreated
and ServiceDeleted notifications.
These changes allow us to properly manage the life-cycles of remote
objects. Since we can map objects back to the client that created them,
we know which objects to discard when we get a ServiceDeleted. It also
allows us to do access control, so a service can detect when one client
is trying to call methods on another client's objects.
-J
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-mono-bindings.patch
Type: text/x-patch
Size: 5122 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/dbus/attachments/20040830/8606a44c/dbus-mono-bindings.bin
More information about the dbus
mailing list