Hi,

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of ext Marcel Holtmann
> Sent: Friday, February 04, 2011 9:02 PM
> To: [email protected]
> Subject: RE: [RFC 2/2] doc: Add description for history agent interface
> 
> > And the failure mode of the agent disconnecting is... to drop events
> on the floor???
> 
> Who said that? D-Bus is an asynchronous message bus with a method call
> and a method return message. Where do you see events being dropped?

When you receive a callback on NameOwnerChanged for the agent, the proposed 
patch, AFAICS, just nullifies the agent data in the history structure. Any 
history event handler called after that simply returns silently because the 
agent is not available.
This is a lousy failure mode, and you'll need to improve it. Presumably, by 
spooling whole messages until there is an agent ready to receive them.

Best regards,
  Mikhail
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to