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.
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.