|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.module.smtp.MailFetcher
org.mmbase.module.smtp.PopFetcher
public class PopFetcher
A mail fetcher that does not smtp-listen but periodically pops from a server. Implemented as a cronjob
| Constructor Summary | |
|---|---|
PopFetcher()
Public constructor. |
|
| Method Summary | |
|---|---|
CronEntry |
getEntry()
|
void |
init(CronEntry cronEntry)
If the CronJobs needs some initializing before the first run, then that can be put in this. |
void |
run()
Pops the mail, and maintains an mmevents object, to administer which mails were handled (based on received date) |
void |
stop()
If after the last run of the job, there need to be shutdown things, then that can be done here. |
| Methods inherited from class org.mmbase.module.smtp.MailFetcher |
|---|
getHandler |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PopFetcher()
| Method Detail |
|---|
public void init(CronEntry cronEntry)
CronJob
init in interface CronJobpublic void stop()
CronJob
stop in interface CronJobpublic CronEntry getEntry()
getEntry in interface CronJobpublic void run()
run in interface Runnablerun in interface CronJob
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||