|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ericdaugherty.mail.server.services.smtp.SMTPSender
public abstract class SMTPSender
This class (thread) is responsible for collectiong unsent messages and delivering them to the proper local address or remote smtp server.
There should be only one instance of this thread running in the system at any one time.
Nested Class Summary | |
---|---|
class |
SMTPSender.Deliver
This method takes a SMTPMessageImpl and attempts to deliver it. |
Field Summary | |
---|---|
protected ConfigurationManager |
configurationManager
The ConfigurationManager |
protected static org.apache.commons.logging.Log |
log
Logger |
protected boolean |
useAmavisSMTPDirectory
|
Method Summary | |
---|---|
abstract SMTPSender.Deliver |
getNewDeliverInstance()
|
void |
notifyshutdown()
Notifies this thread to to initiate shutdown. |
void |
run()
The entrypoint for this thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.commons.logging.Log log
protected final ConfigurationManager configurationManager
protected final boolean useAmavisSMTPDirectory
Method Detail |
---|
public abstract SMTPSender.Deliver getNewDeliverInstance()
public void run()
run
in interface java.lang.Runnable
public void notifyshutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |