int[] as an argument of a Remote Method

Matthew Johnson dbus at
Wed Jul 16 02:26:14 PDT 2008

On Wed Jul 16 01:05, hannehomuth wrote:
> Hi Everyone,
> If tried a while to set an int[] as an argument of one of my remote methods.
> But that doesn't work, I have tried it with a single int and that worked,
> but not with an array? Is they anything I've to set or configure before, or
> is it possible in general to send arrays overs the dbus. Here some code.

It is possible and that should work. Can you create a minimal test case
which demonstrates the problem and send me complete error output and/or
the code to try?

You could also try using List<Integer> as the parameter type.

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

More information about the dbus mailing list