signal receiving
Kees Jongenburger
kees.jongenburger at gmail.com
Mon Dec 19 00:29:51 PST 2011
Hi,
On Mon, Dec 19, 2011 at 8:06 AM, sathish <sathish.n at globaledgesoft.com> wrote:
> Hi,
> I am new to dbus programming. I want to know which dbus API i need to use to
> observe the signal coming how to use. can some one please explain me with a
> sample code or some odea where should i get those information.
Conceptualy a signal is not sent out but sent to the object. If you
want to use signals
as a broatcast mechanism you have to fiddle around.
Here is what I did a while ago:
Send a notifiication
https://github.com/keesj/dbus_glib_pthread/blob/master/test/test_send_notification
Listen to the changes
https://github.com/keesj/dbus_glib_pthread/blob/master/notification_test2.c
Greetings
>
> --
> Thanks& Regards,
> Sathish N
>
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
More information about the dbus
mailing list