Class SessionPreloader.

Inherits EventHandler

Loads information about selected mailboxes into the session cache, so that newly-created sessions have access to it straightaway.

SessionPreloader::SessionPreloader( List<Mailbox> * mailboxes, EventHandler * handler )

Constructs a SessionPreloader which will preload the session cache with information about mailboxes, and then notify handler.

If the cache already contains all that information, then execute() will set done() and not call handler.

bool SessionPreloader::done()

Returns true if the SessionPreloader has done all it's going to do, and false if it hasn't.

This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.