Packages that use MailCache
Package
Description
The SusiMail webapp (mail.war): webmail interface with POP3 and SMTP clients over I2P and local caching.
Uses of MailCache in i2p.susi.webmail
Fields in i2p.susi.webmail declared as MailCacheModifier and TypeFieldDescriptionprivate final MailCacheWebMail.LoadWaiter._mcThe folder being listed.private final MailCacheSorters.SorterBase.mailCacheMail cache to fetch mail objects from.Fields in i2p.susi.webmail with type parameters of type MailCacheMethods in i2p.susi.webmail that return MailCacheModifier and TypeMethodDescriptionprivate static MailCacheWebMail.getCurrentMailCache(WebMail.SessionObject session, RequestWrapper request) The mail cache for the requested folder.Methods in i2p.susi.webmail with parameters of type MailCacheModifier and TypeMethodDescriptionbooleanMove a mail to another MailCache, neither may be DIR_DRAFTS.private static booleanWebMail.saveDraftLocked(Log log, WebMail.SessionObject sessionObject, MailCache toMC, String uidl, StringBuilder draft) Caller must hold the MailCache write lock.private static voidWebMail.showFolder(PrintWriter out, WebMail.SessionObject sessionObject, MailCache mc, RequestWrapper request) Show the message list for a folder.private static voidWebMail.showMessage(PrintWriter out, WebMail.SessionObject sessionObject, MailCache mc, String showUIDL, boolean reallyDelete, WebMail.HtmlMode allowHTML) Show one message with its parts.private static voidWebMail.waitForLoad(WebMail.SessionObject sessionObject, MailCache mc) Blocking wait, bounded to 5 seconds so a stuck loader cannot hang the servlet thread indefinitely.Constructors in i2p.susi.webmail with parameters of type MailCacheModifierConstructorDescriptionDateSorter(MailCache mailCache) Sorts by date field.LoadWaiter(WebMail.SessionObject so, MailCache mc) Waits for the mailbox to load for this session.SenderSorter(MailCache mailCache) Sorts by sender field.SizeSorter(MailCache mailCache) Sorts by message size.protectedSorterBase(MailCache mailCache) Mail cache for fetching mail objects to compare.SubjectSorter(MailCache mailCache) Sorts by subject field.Sorts by recipient field.