some simple questions on "argument direction"

Havoc Pennington hp at pobox.com
Wed May 20 21:57:02 PDT 2009


Hi,

2009/5/21 Matt Guo <matt at mattguo.com>:
> So do you mean the following could also be a valid introspection result?
>            <method name="Foo">
>              <arg type="(iiu)" direction="in"/>
>            </method>

Yes, I think so. In any case the names aren't in the wire protocol,
they are purely "advisory" or for code generation.

> And can I ask one more question:
> Can I assert all the arguments of a dbus signal are "out"?

iirc they are all "in" though really in/out have no meaning for a
signal since there's only one message that has all the args in it.
While method calls have two messages, the call and the reply, call has
in args, reply has out args.

Havoc


More information about the dbus mailing list