1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-15 22:15:15 -05:00
k-9/src/com/fsck/k9/mail/Pusher.java
Daniel Applebaum 6aeac22dad Fixes Issue 300
Fixes Issue 772
Fixes Issue 852

Issue 300: Handle incoming IMAP tokens in a case-insensitive manner

Issue 772: Add Yahoo workaround

Issue 852: Add configurable IMAP IDLE refresh frequency in Incoming
server settings

Also:
Add configuration option for whether push system executes a poll on
each connect.

Move the configuration for the maximum number of push folders to the
Incoming server Settings.
2010-05-09 15:27:41 +00:00

19 lines
381 B
Java

package com.fsck.k9.mail;
import java.util.List;
public interface Pusher
{
public void start(List<String> folderNames);
public void refresh();
public void stop();
/**
*
* @return milliseconds of required refresh interval
*/
public int getRefreshInterval();
public void setLastRefresh(long lastRefresh);
public long getLastRefresh();
}