|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jmo.mailmessager.utils.mail.MailMessagerEmailFinder
public class MailMessagerEmailFinder
Class for connecting to mail servers and retrieving any new email messages. Each thread spawned retrieves mail for the one mail account provided. Any exceptions that occur during retrieval are stored within that MailAccount.
MailMessagerTray
,
MailMessagerXMLEngine
,
MailMessagerStatusBar
,
MailMessagerIconAnimator
,
MailMessagerEncrypter
,
MailMessagerConstants
,
MailAccount
Constructor Summary | |
---|---|
MailMessagerEmailFinder()
Creates new EmailFinder object |
Method Summary | |
---|---|
MailAccount |
getMessages()
Returns the updated MailAccount that now contains any unread email messages |
void |
run()
Main thread to fetch email from the currentAccount |
void |
setMailAccount(MailAccount currentAccount)
Setter for Mail Account from which to attempt to retrieve email |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MailMessagerEmailFinder()
Method Detail |
---|
public void setMailAccount(MailAccount currentAccount)
currentAccount
- MailAccount to retrieve mail from.public MailAccount getMessages()
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |