From: Stig T. <jw...@us...> - 2005-03-20 15:09:17
|
Update of /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21214/net/sf/mailsomething/mail/parsers Modified Files: ImapController.java PopController.java Log Message: Index: ImapController.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/ImapController.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ImapController.java 14 Mar 2005 20:12:50 -0000 1.2 --- ImapController.java 20 Mar 2005 15:09:07 -0000 1.3 *************** *** 1613,1617 **** } ! private String doSelect(String mailboxPath) { String listCommand = ""; --- 1613,1617 ---- } ! public static String doSelect(String mailboxPath) { String listCommand = ""; *************** *** 1737,1741 **** *@return Description of the Returned Value */ ! private String doPath(String mailboxPath) { String listCommand = ""; --- 1737,1741 ---- *@return Description of the Returned Value */ ! public static String doPath(String mailboxPath) { String listCommand = ""; *************** *** 1765,1769 **** *@return Description of the Returned Value */ ! private String[] parseSearch(String[] reply) { Vector num = new Vector(); --- 1765,1769 ---- *@return Description of the Returned Value */ ! private static String[] parseSearch(String[] reply) { Vector num = new Vector(); *************** *** 1791,1806 **** } ! public ImapMailboxFlags getFlags(String path) { ! ! selectMailbox(path); ! ! //logger.info("imapcontroller exists " + exists + " recent " + recent); ! /*int x = selectMailbox(path) ! * if x == 0; ! * do a noop ! */ ! return new ImapMailboxFlags(exists, recent); ! ! } class NoopTimer implements ActionListener { --- 1791,1795 ---- } ! class NoopTimer implements ActionListener { *************** *** 2101,2104 **** --- 2090,2099 ---- } + + + + + + } Index: PopController.java =================================================================== RCS file: /cvsroot/mailsomething/mailsomething/src/net/sf/mailsomething/mail/parsers/PopController.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PopController.java 3 Apr 2004 07:56:49 -0000 1.1 --- PopController.java 20 Mar 2005 15:09:07 -0000 1.2 *************** *** 12,24 **** /** ! * Right now some of the methods which invokes methods on the session is ! * synchronized. It will probably be better just to synchronize the methods in ! * the sessionclass. The PopController should implement a BasicMailChecker ! * Interface. ! * ! *@author stig ! *@created October 3, 2001 ! *@version 0.1 [...1198 lines suppressed...] ! * Some servers close connection when APOP authentication fails, so we have ! * to close the socket and try to reconnect. ! */ private void reconnect() { logof(); ! connect(session, account); } ! public boolean useSSL() { ! return account.useSSL(); ! } + ! ! } \ No newline at end of file |