public class DumbsterSmtpServer extends org.codehaus.plexus.logging.AbstractLogEnabled implements SmtpServer, org.codehaus.plexus.personality.plexus.lifecycle.phase.Startable
ROLE| Constructor and Description |
|---|
DumbsterSmtpServer() |
| Modifier and Type | Method and Description |
|---|---|
Iterator |
getReceivedEmail()
Get email received by this instance since start up.
|
int |
getReceivedEmailSize()
Get the number of messages received.
|
void |
start() |
void |
stop() |
public void start()
throws org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException
start in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Startableorg.codehaus.plexus.personality.plexus.lifecycle.phase.StartingExceptionpublic void stop()
throws org.codehaus.plexus.personality.plexus.lifecycle.phase.StoppingException
stop in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Startableorg.codehaus.plexus.personality.plexus.lifecycle.phase.StoppingExceptionpublic Iterator getReceivedEmail()
getReceivedEmail in interface SmtpServerpublic int getReceivedEmailSize()
getReceivedEmailSize in interface SmtpServerCopyright © 2012. All Rights Reserved.