Registering Message Handlers

W. R. S. sueno at cmu.edu
Mon Jan 31 12:14:33 PST 2005


Hello,

 Could someone clarify how a message handler is installed on a
service/or when an object is registered (is that the same thing)? 

 When a DBusObjectPathVTable is instantiated, a DBusHandlerResult is
passed to it. This handler contains the code that is executed for each
message received (assume no filters are installed). Could a handler be
installed by a client for a service/object located on user started
daemon when registering the object like so
"dbus_connection_register_object_path(..,vtable, ..)"? 

 If a client cant install a message handler like so, how might one
correctly setup a service/object that responds to messages sent to its
address (on a well known, for ex, tcp socket address)? 

Thanks,
Raul


More information about the dbus mailing list