Java DBus Question
Arigead
captain.deadly at gmail.com
Tue Sep 14 02:07:27 PDT 2010
Matthew Johnson wrote:
> On Tue Sep 14 09:30, Arigead wrote:
>> Hello list,
>> I'm not an expert in The Java and interfacing some DBus stuff to
>> Java code is a bit all over the place. Java don't support multiple
>> returns and things. My present problem is that I've got a DBus signal
>> which passes an array. The output from dbus-monitor is:
>>
>> array [
>> dict entry(
>> string "type"
>> variant string "bookmark"
>> )
>
> That looks like a dictionary string => variant to me. You want
> Map<String,Variant> (Variant is defined in the dbus bindings)
>
> Matt
Unbelievable ;-) I had the <String,Variant> but never thought of the
Map. Simple as that. Thanks a million for taking the time to respond.
I'm sorry about The Java and me.
More information about the dbus
mailing list