velosurf.util
Class MailNotifier
java.lang.Object
velosurf.util.MailNotifier
- All Implemented Interfaces:
- java.lang.Runnable
public class MailNotifier
- extends java.lang.Object
- implements java.lang.Runnable
Constructor Summary |
MailNotifier(java.lang.String host,
java.lang.String sender,
java.lang.String recipient)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
host
private java.lang.String host
sender
private java.lang.String sender
recipient
private java.lang.String recipient
queue
private java.util.LinkedList<MailNotifier.Notification> queue
running
private boolean running
MailNotifier
public MailNotifier(java.lang.String host,
java.lang.String sender,
java.lang.String recipient)
start
public void start()
stop
public void stop()
sendNotification
public void sendNotification(java.lang.String subject,
java.lang.String body)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
~ooOoo~