[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: Re: DBUS service using glib: question
From: Xavier Claessens <xclaesse () gmail ! com>
Date: 2006-07-15 8:44:16
Message-ID: 1152953057.23061.1.camel () zdra-desktop
[Download RAW message or body]
On ven, 2006-07-14 at 11:07 +0100, Ross Burton wrote:
> On Fri, 2006-07-14 at 11:13 +0200, Xavier Claessens wrote:
> > Thanks ! I can now know when a client connect/disconnect and I keep a
> > hash table with information about all clients connected. Then only
> > problem remaining: When a method is called on my object, how can I know
> > which client called it ?
>
> If you are using the low-level methods the DBusMessage object has a
> sender field. If you are using the GLib bindings then you need to
> annotate the methods as being Async, then you get a context object that
> contains the sender.
I'm using GLib binding. Have you more documentation about this context
object ? Or have you example of program that use it ?
Thanks,
Xavier Claessens.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic