Java generic signal handler

minimulisha03 ericcarmody at hotmail.com
Tue Feb 16 14:07:08 PST 2010


If you get a chance do you think you could give me an example of how to
register a match with the bus daemon cause I just can't seem to figure out
how....


Matthew Johnson-3 wrote:
> 
> On Tue Feb 16 08:46, minimulisha03 wrote:
>> 
>> Is there a way to connect to the session or system bus and listen for all
>> activity like method calls and signals using the low level api?
> 
> Yes, with the low-level API you will get all of the messages which are
> sent to
> your connection. However, in order for things to be sent to your
> connection you
> need to get the daemon to send them to you. This involves at least calling
> AddMatch on the bus daemon.
> 
> I can't give you any more details now, I'm a little busy, but hopefully
> that
> should point you in the correct direction.
> 
> Matt
> -- 
> www.matthew.ath.cx
> D-Bus Java
> 
>  
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
> 
> 

-- 
View this message in context: http://old.nabble.com/Java-generic-signal-handler-tp27523741p27615557.html
Sent from the Free Desktop - dbus mailing list archive at Nabble.com.



More information about the dbus mailing list