Inherits Cache
The MessageCache class caches messages until the Allocator decides to clear out old Garbage. As a special feature, it can also cache messages a few seconds longer, although that should be used sparingly.
Constructs an empty MessageCache. Should not be called directly, only via insert() and find().
Reimplements Garbage::Garbage().
Looks for a message in mailbox with uid in the cache and returns a pointer to it, or a null pointer.
Inserts m into the cache, such that a find( mb, uid ) will find it.
Ensures that there is a message with mailbox and uid in the cache, and returns a pointer to it.
This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.