[Kde-pim] Questions / Issues on Akonadi - notificaitons

Volker Krause vkrause at kde.org
Thu Mar 20 07:25:14 GMT 2008


On Thursday 20 March 2008 07:47:58 Brad Hards wrote:
> On Monday 17 March 2008 06:33:25 am Tobias Koenig wrote:
> > > 4. How are async notifications of changes (from the server) supposed to
> > > be handled? What will the application send to akonadi core, and what
> > > will akonadi core send to the resource?
> >
> > When the resource gets a async notification from the server, it
> > adds/deletes/moves the data object in the store. That will signal all
> > other clients (agents or applications) that something has changed.
>
> I think I need to ask a more specific question.
>
> The Openchange resource can potentially register to receive async
> notifications on some or all of its folders. What happens is there is a UDP
> port that the server sends to (and the client listens on), and that tells
> the client which folder to redo. This is part of the client logon /
> registration.
>
> This will look (to the user) like automatic updates - the folder just gets
> more messages (or potentially less).
>
> Does akonadi have any way of saying "only do async changes on this subset
> of folders", or "don't do async updates", or should I always just update?

No, there is nothing like this so far. Mostly because there are not many 
backends that support change notification at all. Also, I currently can't 
think of a usecase to not want to use them if available. If there is however, 
we could add a collection attribute to configure them per folder.

regards
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080320/06deffc4/attachment.sig>
-------------- next part --------------
_______________________________________________
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