java.lang.Object
i2p.susi.webmail.MailCache.LoadMailRunner
All Implemented Interfaces:
Runnable
Enclosing class:
MailCache

private class MailCache.LoadMailRunnerextends Object implements Runnable
Loads new mail in a background thread.
  • Field Details

    • _nml

      private final NewMailListener _nml
      Listener notified of the new messages.
  • Constructor Details

    • LoadMailRunner

      public LoadMailRunner(NewMailListener nml)
      Creates the loader with its completion listener.
      Parameters:
      nml - listener to notify after load
  • Method Details

    • run

      public void run()
      Loads the folder from disk, then reports whether any mail was found.
      Specified by:
      run in interface Runnable