selective D-BUS signal emitting from ObServer

Pavel Strashkin pavel.strashkin at gmail.com
Wed Jun 13 13:22:43 PDT 2012


Hello there,

You should use the unicast signals (a signal with a non-empty
destination) for that purpose.
Every connection has its own unique name that would be the destination
in you case.

http://dbus.freedesktop.org/doc/dbus-specification.html

2012/6/13 Dmitry <testbomber at gmail.com>:
> Hi All,
>
> I have a situation where I have a single ObServer object and a set of
> Clients. ObServer and clients connected through D-BUS (IPC). ObServer has
> generic interface for all clients. But, time to time ObServer needs to
> notify clients about some events. Clients listen for a ObServer Generic
> interface signal OnNotify().
>
> Question: How to emit D-BUS signal (OnNotify()) from ObServer to specified
> client (instead of broadcast to all) ?
>
> p.s
>
> Qt D-BUS used for wrapping but any approach are welcome.
>
>
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
>


More information about the dbus mailing list