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.Startable
org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException
public void stop() throws org.codehaus.plexus.personality.plexus.lifecycle.phase.StoppingException
stop
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Startable
org.codehaus.plexus.personality.plexus.lifecycle.phase.StoppingException
public Iterator getReceivedEmail()
getReceivedEmail
in interface SmtpServer
public int getReceivedEmailSize()
getReceivedEmailSize
in interface SmtpServer
Copyright © 2012. All Rights Reserved.