int[] as an argument of a Remote Method

Matthew Johnson dbus at matthew.ath.cx
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.

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


More information about the dbus mailing list