org.apache.james.postage.client
Class POP3MailAnalyzeStrategy

java.lang.Object
  extended by org.apache.james.postage.mail.MailAnalyzeStrategy
      extended by org.apache.james.postage.client.POP3MailAnalyzeStrategy

public class POP3MailAnalyzeStrategy
extends MailAnalyzeStrategy


Field Summary
 
Fields inherited from class org.apache.james.postage.mail.MailAnalyzeStrategy
log
 
Constructor Summary
POP3MailAnalyzeStrategy(java.lang.String receivingQueueName, PostageRunnerResult results, org.apache.commons.net.pop3.POP3Client pop3Client, int mailNumber, int mailIndex)
           
 
Method Summary
protected  void dismissMessage()
          optional override to delete the message.
protected  javax.mail.internet.MimeMessage loadMessage()
          mandatory override to make the message available
 
Methods inherited from class org.apache.james.postage.mail.MailAnalyzeStrategy
handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POP3MailAnalyzeStrategy

public POP3MailAnalyzeStrategy(java.lang.String receivingQueueName,
                               PostageRunnerResult results,
                               org.apache.commons.net.pop3.POP3Client pop3Client,
                               int mailNumber,
                               int mailIndex)
Method Detail

loadMessage

protected javax.mail.internet.MimeMessage loadMessage()
                                               throws java.lang.Exception
Description copied from class: MailAnalyzeStrategy
mandatory override to make the message available

Overrides:
loadMessage in class MailAnalyzeStrategy
Throws:
java.lang.Exception

dismissMessage

protected void dismissMessage()
                       throws java.lang.Exception
Description copied from class: MailAnalyzeStrategy
optional override to delete the message.

Overrides:
dismissMessage in class MailAnalyzeStrategy
Throws:
java.lang.Exception


Copyright © 2006-2007 The Apache Software Foundation. All Rights Reserved.