using the dbus low level C API
Marco Cavallini
koansoftware at gmail.com
Tue Oct 7 07:19:11 PDT 2008
Tomas Pelka ha scritto:
> This value is hard-coded into the source code (see line 191).
> My question is, why 123 (the parameter)
>
> method call sender=:1.88 -> dest=test.method.server
> path=/test/method/Object; interface=test.method.Type; member=Method
> string "123"
>
> is a string. Or may I specify type of param (integer, string, etc.),
> because than it is bootless, don't you think? Maybe I'm wrong.
I'm not a dbus expert (I'm learning it) but AFAIK
123 is a striong beacuse you are specifiyng such type at line 132
if (!dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, ¶m))
/marco
More information about the dbus
mailing list