[Kde-pim] Akonadi Resource - setOnline troubles
Martin Koller
kollix at aon.at
Wed Feb 19 21:06:06 GMT 2014
On Wednesday 19 February 2014 17:31:13 Daniel Vrátil wrote:
> Disconnected
> Resource requires access to network, but no network is available. ResourceBase
> automatically moves between Disconnected and Connected states based on network
> availability reported by Solid. There is the same problem with data retrieval
> as in StayDisconnected.
>
> TemporaryDisconnected ( == BackendNotAvailable? )
> Network is available, but connection to server cannot be established (or
> maildir folder is not available because it's not mounted for instance).
> Resource sets itself to this state and will attempt to reach the backend
> periodically (ResourceBase will emit a "tryReconnect" signal in configurable
> intervals). Once it succeeds, it will switch itself back to Connected.
I'd say these are both the same.
When a resource wants to contact a (network based) server, and it can not be reached
(for whatever reason. No net at all, or simply currently not possible, or even: the server
is reachable but answers with some error), the resource should notify the user (by a state and some
error message) that it currently has a problem with the communication, but it will automatically
retry again (either because of a timeout or Solid tells us the network is here again).
Both are "TemporaryDisconnected" with automatic retry.
--
Best regards/Schöne Grüße
Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?
() ascii ribbon campaign - against html e-mail
/\ - against proprietary attachments
Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list