com.dotmarketing.quartz.job
Class PopBouncedMailThread

java.lang.Object
  extended by com.dotmarketing.quartz.job.PopBouncedMailThread
All Implemented Interfaces:
org.quartz.Job

public class PopBouncedMailThread
extends java.lang.Object
implements org.quartz.Job

This is a quartz kind of job used to retrieved bounced mails notifications from multiple pop 3 accounts configured through the dotmarketing.config.properties

Version:
1.5
Author:
David

Constructor Summary
PopBouncedMailThread()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext context)
           
 org.quartz.JobExecutionContext getContext()
           
 void getMail(java.io.BufferedReader in, java.io.BufferedWriter out, int i)
           
 int GetNumberOfMessages(java.io.BufferedReader in, java.io.BufferedWriter out)
           
 void pullMail()
           
 void setContext(org.quartz.JobExecutionContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopBouncedMailThread

public PopBouncedMailThread()
Method Detail

getContext

public org.quartz.JobExecutionContext getContext()
Returns:
the context

setContext

public void setContext(org.quartz.JobExecutionContext context)
Parameters:
context - the context to set

execute

public void execute(org.quartz.JobExecutionContext context)
             throws org.quartz.JobExecutionException
Specified by:
execute in interface org.quartz.Job
Throws:
org.quartz.JobExecutionException

pullMail

public void pullMail()

getMail

public void getMail(java.io.BufferedReader in,
                    java.io.BufferedWriter out,
                    int i)
             throws java.lang.Exception
Throws:
java.lang.Exception

GetNumberOfMessages

public int GetNumberOfMessages(java.io.BufferedReader in,
                               java.io.BufferedWriter out)
                        throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2013 dotCMS Inc. All Rights Reserved.