using dbus_connection_read_write(_dispatch)

Havoc Pennington hp at pobox.com
Wed Jun 18 15:36:10 PDT 2008


Hi,

On Wed, Jun 18, 2008 at 5:30 PM, Fritz Code <codefritz at googlemail.com> wrote:
> With both techniques you basically can check incoming message, and I guess
> of all three types, signal, method calls  and errors?
>

The object path vtable will only see method calls that are sent to the
object path you registered it under. The filter will see all messages.

The intended use is to register objects under their paths, so they
receive their method calls.

The object path vtable should not see signals, since signals have an
origin object path, not a destination object path. Though, reading the
code just now, it looks like it may be broken in this respect and it
may send signals from an object path to a destination object with the
same path, which just doesn't make sense. In practice this probably
doesn't come up, but it's broken if it does.

Havoc


More information about the dbus mailing list