Is D-Bus right for me?

Matthew Johnson dbus at matthew.ath.cx
Mon Feb 25 16:17:47 PST 2008


On Mon Feb 25 15:05, Havoc Pennington wrote:
> Hi,
> 
> On Mon, Feb 25, 2008 at 2:49 PM, Braden McDaniel <braden at endoframe.com> wrote:
> >  Mapping the XEmbed control's interface to a D-Bus service seems fairly
> >  straightforward to me. However, the control requires certain services
> >  from the host process. I haven't figured out how this part would work
> >  using D-Bus. I think my question is this: can an activated service know
> >  what process activated it, and then request a service specifically from
> >  that process?
> >
> 
> Just have the activating process invoke a method on the activated
> service, passing in the unique bus name of the activating process.

You don't even need to do that. The activated process can always find
out the unique bus name which sent any message it receives. It will have
been activated by such a message

Matt

-- 
www.matthew.ath.cx
D-Bus Java
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20080226/510f8bb9/attachment.pgp 


More information about the dbus mailing list