[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Registering Message Handlers
From:       "W. R. S." <sueno () cmu ! edu>
Date:       2005-01-31 20:14:33
Message-ID: 1107202473.8174.23.camel () rsalinas1-ny ! tfsm ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic