Java generic signal handler
dbus at matthew.ath.cx
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 835 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20100210/699d8d92/attachment.pgp
More information about the dbus