|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.malowa.suggestions.delay.ClientCountryDomainRule
public class ClientCountryDomainRule
Defines a rule that prefers messages originating from some countries and harms messages from other countries. The countries will be determined by the top level domain from the sending host.
| Constructor Summary | |
|---|---|
ClientCountryDomainRule()
Constructor of rule |
|
| 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()
Will be called regularly. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientCountryDomainRule()
| Method Detail |
|---|
public int getDelayTime(SMTPInformation info)
DelayRule
getDelayTime in interface DelayRuleinfo - SMTP information to utilize
DelayRule.getDelayTime(de.malowa.greylister.SMTPInformation)
public int getDelayTimeWithHistory(SMTPInformation info,
MailHistory history)
DelayRuleDelayRule.getDelayTime(SMTPInformation)
without considering history.
getDelayTimeWithHistory in interface DelayRuleinfo - SMTP information to utilizehistory - the history of past delivery attempts to utilize
DelayRule.getDelayTimeWithHistory(de.malowa.greylister.SMTPInformation,
de.malowa.greylister.MailHistory)public void update()
DelayRule
update in interface DelayRuleDelayRule.update()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||