DBUS protocol on unix pipes?
nf2
nf2 at scheinwelt.at
Fri Jun 9 09:06:32 PDT 2006
Hi,
Could DBUS be used on unix stdin/stdout pipes?
I was thinking about a simple out-of-process "component system", which
uses the DBUS protocol to talk to child processes directly via their
stdin/stdout pipes (without sockets/daemons).
The basic idea would be to add an optional interface based on the DBUS
protocol to command-line utilities (a "--dbus-component" or
"--talk-dbus" switch).
(The purpose of such components could be providing a generic
(cross-desktop) interface to file-dialogs, vfs-libraries, printing for
3rd party applications)
The second question is about "streaming" large amounts of file-data with
DBUS-one-way messages (signals). There might be a problem with flooding
the outgoing message queue in an async system, when the receiving side
is not picking up messages fast enough. Is there an easy way to check
the length of this queue?
Thanks,
Norbert
More information about the dbus
mailing list