java.lang.Object
i2p.susi.webmail.pop3.POP3MailBox.RecheckRunner
All Implemented Interfaces:
Runnable
Enclosing class:
POP3MailBox

private class POP3MailBox.RecheckRunnerextends Object implements Runnable
Rechecks for new mail in a background thread.
  • Field Details

  • Constructor Details

    • RecheckRunner

      public RecheckRunner(NewMailListener nml)
      Creates the runner with its completion listener.
      Parameters:
      nml - listener to notify on recheck
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • check

      private boolean check()
      Checks the server for new messages.
      Returns:
      true if new mail was found