|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.malowa.rules.delay.DefaultDelayRule
public final class DefaultDelayRule
This concrete implementation of the interface DelayRule defines the standard delay times based on the whitepaper by Evan Harris
| Constructor Summary | |
|---|---|
DefaultDelayRule()
|
|
| Method Summary | |
|---|---|
int |
getDelayTime(SMTPInformation info)
Returns the delay in minutes for the given SMTP mail header. |
int |
getDelayTimeWithHistory(SMTPInformation info,
MailHistory history)
Returns the delay in minutes for the given SMTP mail header. |
void |
update()
does nothing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultDelayRule()
| Method Detail |
|---|
public int getDelayTime(SMTPInformation info)
DelayRule
getDelayTime in interface DelayRuleinfo - is ignored
public int getDelayTimeWithHistory(SMTPInformation info,
MailHistory history)
DelayRuleDelayRule.getDelayTime(SMTPInformation)
without considering history.
getDelayTimeWithHistory in interface DelayRuleinfo - is ignoredhistory - is ignored
public void update()
update in interface DelayRule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||