Java generic signal handler

Matthew Johnson dbus at
Wed Feb 10 02:19:20 PST 2010

On Tue Feb 09 15:07, minimulisha03 wrote:
> Is there a way to essentially handle all signals in a generic fashion using
> the java-dbus bindings?
> conn = DBusConnection.getConnection(DBusConnection.SESSION); 
> DBusSigHandler gen = new genericSigHandler();
> conn.addSigHandler(DBusSignal.class, gen); //i know this doesn't work but i
> want this functionality

Not at present. In general you need to add a match rule in order to receive any
signals, so that's not entirely useful by itself. If you want me to I could add
some more generic functionality. What are you trying to achieve with this?


D-Bus Java
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
Url : 

More information about the dbus mailing list