net.sf.xbus.technical.mail
Class POP3ReceiverThread

java.lang.Object
  extended by net.sf.xbus.technical.ReceiverThreadBase
      extended by net.sf.xbus.technical.mail.POP3XMLReceiverThread
          extended by net.sf.xbus.technical.mail.POP3ReceiverThread
All Implemented Interfaces:
java.lang.Runnable, Receiver

public class POP3ReceiverThread
extends POP3XMLReceiverThread

The POP3ReceiverThread runs in the background and receives emails.

Author:
Dominique Boivin

Field Summary
 
Fields inherited from class net.sf.xbus.technical.ReceiverThreadBase
DEFAULT_ERROR_TIMEOUT, DEFAULT_TIMEOUT
 
Constructor Summary
POP3ReceiverThread(XBUSSystem source)
          Stores the interface name
 
Method Summary
protected  POP3XMLReceiver createReceiver()
          Creates an instance of POP3Receiver used to read from a mailbox.
 
Methods inherited from class net.sf.xbus.technical.mail.POP3XMLReceiverThread
getAddress, getReceiverClassName, getType, initializeThread, receive, registerResources
 
Methods inherited from class net.sf.xbus.technical.ReceiverThreadBase
checkProceed, getErrorTimeout, getSource, getTimeout, incrementErrorCounter, initializeErrorCounter, interruptThread, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POP3ReceiverThread

public POP3ReceiverThread(XBUSSystem source)
Stores the interface name

Parameters:
source - name of the interface definition
Method Detail

createReceiver

protected POP3XMLReceiver createReceiver()
Creates an instance of POP3Receiver used to read from a mailbox.

Overrides:
createReceiver in class POP3XMLReceiverThread
Returns:
an instance of POP3Receiver