org.datamanager.simpleton
Class SMTPSendSimpleton

java.lang.Object
  |
  +--org.datamanager.kernel.Simpleton
        |
        +--org.datamanager.simpleton.SMTPSendSimpleton
All Implemented Interfaces:
EventHandler

public class SMTPSendSimpleton
extends Simpleton
implements EventHandler

This class attempts to deliver a message described by an Entity with an SMTPSendRequestEvent over SMTP.


Nested Class Summary
 
Nested classes inherited from class org.datamanager.kernel.Simpleton
Simpleton.Information, Simpleton.Priority
 
Constructor Summary
SMTPSendSimpleton()
           
 
Method Summary
 void handle(DataManagerEvent dataManagerEvent)
          Handles and distributes the events to which this Simpleton is subscribed.
 void process()
          Subscribes to the pool to hear the SMTPSendRequestEvent
 
Methods inherited from class org.datamanager.kernel.Simpleton
clone, getInformation, getPriority, setInformation, setPriority, start
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMTPSendSimpleton

public SMTPSendSimpleton()
Method Detail

process

public void process()
Subscribes to the pool to hear the SMTPSendRequestEvent

Specified by:
process in class Simpleton

handle

public void handle(DataManagerEvent dataManagerEvent)
Handles and distributes the events to which this Simpleton is subscribed.

Specified by:
handle in interface EventHandler
Parameters:
dataManagerEvent - The event to handle.


See the Helium Website