|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.malowa.greylister.MailHistory
public class MailHistory
If a mail tupel is on the greylist it has a MailHistory
. It
can be used in rules to make decision based on the history.
Constructor Summary | |
---|---|
MailHistory(long secondsToWait,
long passedSeconds,
int retries)
Creates a new MailHistory |
Method Summary | |
---|---|
int |
getBlockedmailcount()
gets number of times a tupel has been seen before. |
long |
getPassedSeconds()
gets number of seconds since the tupel was inserted into greylist |
long |
getSecondsToWait()
gets seconds to wait until passing greylist. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MailHistory(long secondsToWait, long passedSeconds, int retries)
secondsToWait
- seconds to wait until passing greylistpassedSeconds
- seconds passed since first seenretries
- number of retriesMethod Detail |
---|
public long getSecondsToWait()
public long getPassedSeconds()
public int getBlockedmailcount()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |