java.lang.Object
i2p.susi.webmail.WebMail.LoadWaiter
All Implemented Interfaces:
NewMailListener
Enclosing class:
WebMail

private static class WebMail.LoadWaiterextends Object implements NewMailListener
  • Field Details

  • Constructor Details

    • LoadWaiter

      public LoadWaiter(WebMail.SessionObject so, MailCache mc)
      Waits for the mailbox to load for this session.
      Parameters:
      so - the session waiting on the disk load, notified when it finishes
      mc - the cache supplying the UIDLs that just arrived on disk
  • Method Details

    • foundNewMail

      public void foundNewMail(boolean yes)
      Merge any newly arrived UIDLs into the folder and wake the waiter.
      Specified by:
      foundNewMail in interface NewMailListener
      Parameters:
      yes - true if new mail was found