|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xmlBlaster.util.protocol.email.SmtpClient.AsyncSender
Consumer pattern. The mail can be send asynchronously to decouple the sending thread from a blocking smtp server
| Field Summary | |
private edu.emory.mathcs.backport.java.util.concurrent.BlockingQueue |
queue
|
private SmtpClient |
smtpClient
|
| Constructor Summary | |
(package private) |
SmtpClient.AsyncSender(SmtpClient smtpClient,
edu.emory.mathcs.backport.java.util.concurrent.BlockingQueue q)
|
| Method Summary | |
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private final SmtpClient smtpClient
private final edu.emory.mathcs.backport.java.util.concurrent.BlockingQueue queue
| Constructor Detail |
SmtpClient.AsyncSender(SmtpClient smtpClient,
edu.emory.mathcs.backport.java.util.concurrent.BlockingQueue q)
| Method Detail |
public void run()
run in interface java.lang.Runnable
|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||