n00b: signals with an extensible message
tanuk at iki.fi
Thu Feb 18 05:21:41 PST 2010
ke, 2010-02-17 kello 22:37 +0100, Kees Jongenburger kirjoitti:
> I also would like to mention that you will run against implementation
> limitations. The dbus protocol
> can handle quite large packets but if you really try it you will find
> that sending a 1Mb XML file
> (not that crazy for xml) will not always work( code assuming it can
> read the whole dbus message in on go).
What implementations are you referring to? Does libdbus have any such
assumptions? I have this line in one of my method call handlers:
dbus_message_iter_get_fixed_array(&array_iter, &data, &data_length);
and I expect that to handle byte arrays of size 67108864 (i.e. the
maximum array size according to the D-Bus spec).
More information about the dbus