Reliability of the D-Bus broadcast messages

Robin Bate Boerop robin at bateboerop.name
Mon Mar 21 10:43:37 PDT 2011


On 11 March 2011 15:58, Bogdan Lotko <boguslaw.lotko at chello.at> wrote:
> I'll be very grateful for explaining of the question of reliability of the
> D-Bus "broadcast" messages.
>
> 1) Does it mean that this way of distributing of messages is reliable?
> 2) Could this feature be implementation dependent?
> 3) Is there any specification describing this behavior of the D-Bus
> connection?

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.
3) http://dbus.freedesktop.org/doc/dbus-specification.html - but this
spec is known to be incomplete/unclear.

-- 
Robin Bate Boerop


More information about the dbus mailing list