Reliability of the D-Bus broadcast messages
Havoc Pennington
hp at pobox.com
Mon Mar 21 13:28:20 PDT 2011
Hi,
On Mon, Mar 21, 2011 at 1:43 PM, Robin Bate Boerop
<robin at bateboerop.name> wrote:
> 1) No, it is not reliable in the sense of
> [http://en.wikipedia.org/wiki/Reliability_(computer_networking)] - the
> 'send' method returning does not necessarily mean that your message
> has been received by the recipient. Perhaps you need to clarify your
> question.
> 2) No. While the spec is unclear in many ways, it is clear that it is
> intended to be an asynchronous protocol. This means that all
> implementations should be asynchronous, which means that delivery is
> not guaranteed after 'send' has returned.
The intent is that you would wait for a reply message if you need to
know the message was received. Some APIs may be synchronous and wait
for this message already.
Signals do not have replies and cannot be reliable in this sense, though.
Havoc
More information about the dbus
mailing list