Performance of DBUS with multiple nodes

Havoc Pennington hp at redhat.com
Thu Mar 29 11:31:10 PDT 2007


Hi,

Jacques Guillou wrote:
> Thanks for your answer.
> If the daemon doesn't keep any introspection data, I guess that also 
> means it doesn't check  message signatures against the corresponding 
> introspection data, right ?
> So you can call a method with "wrong" parameter types without being 
> rejected by the daemon (probably the service itself will fail somehow) ?
> But if you try to extract an integer from a message which actually 
> contains a string, you will get an error, probably by the binding and 
> not by the daemon ?
> So the daemon doesn't perform any check on the content of the messages, 
> does it ?
> 

Right, as John says. If you're familiar with XML, the daemon and libdbus 
require messages to be "well formed" but the application is responsible 
for any "validation." Some libdbus methods, such as 
dbus_message_get_args(), will do some of the validation for you.

Havoc


More information about the dbus mailing list