Java generic signal handler

Matthew Johnson dbus at matthew.ath.cx
Sun Mar 21 11:27:48 PDT 2010


On Mon Mar 01 13:46, minimulisha03 wrote:
> message = new MethodCall("org.freedesktop.DBus", "/org/freedesktop/DBus",
> "org.freedesktop.DBus", "Hello", (byte) 0, null);
> conn.mout.writeMessage(message);
> 
> message = new MethodCall("org.freedesktop.DBus", "/org/freedesktop/DBus",
> "org.freedesktop.DBus", "AddMatch", (byte) 0, 					"s", "type='signal'");
> conn.mout.writeMessage(message);

Looks sensible

Matt
-- 
www.matthew.ath.cx
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: <http://lists.freedesktop.org/archives/dbus/attachments/20100321/feb569d9/attachment.pgp>


More information about the dbus mailing list