de.malowa.state
Class OnGreylistState

java.lang.Object
  extended by de.malowa.state.State
      extended by de.malowa.state.OnGreylistState
Direct Known Subclasses:
PassedGreylistState, PassWhileGreylistedState, StillDelayedState

public abstract class OnGreylistState
extends State

The class is the superclass of all states where a greylisting tupel is on the greylist.

Author:
Marcel Lohmann

Constructor Summary
OnGreylistState(SMTPInformation info, MailHistory history)
          Creates the state.
 
Method Summary
 MailHistory getMailHistory()
           
 
Methods inherited from class de.malowa.state.State
accept, getSMTPInformation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnGreylistState

public OnGreylistState(SMTPInformation info,
                       MailHistory history)
Creates the state. The info and history are saved for later reuse.

Parameters:
info - of SMTP dialog
history - statistics of past connection attempts
Method Detail

getMailHistory

public final MailHistory getMailHistory()
Returns:
the history of the mail entry in the database