demarshalling messages

Havoc Pennington hp at redhat.com
Thu Mar 22 21:02:25 PDT 2007


Hi,

Dafydd Harries wrote:
> 
> I'm working on implementing a D-Bus based RPC mechanism for One Laptop Per
> Child activities. It works by forwarding messages it receives between a local
> unix socket and the network. In order to route messages efficiently, I need to
> be able to examine the recipient address of outgoing messages, which entails
> demarshalling the message. libdbus doesn't currently provide any API for this;
> how would people recommend I do this?
> 

I'm not sure I understand what you mean, maybe try rephrasing?

dbus_message_get_destination() should give you the recipient's bus name.

Maybe if you clarify more what a D-Bus based RPC mechanism is and what 
your layer is doing on top of what libdbus does.

Havoc



More information about the dbus mailing list