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.
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 |
SMTPSendSimpleton
public SMTPSendSimpleton()
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