public static class TestMailServer.ImapServer extends TestMailServer.MailServer
Modifier and Type | Class and Description |
---|---|
class |
TestMailServer.ImapServer.ImapHandler |
TestMailServer.MailServer.MailHandler
assertions, messages
Constructor and Description |
---|
ImapServer(int port) |
Modifier and Type | Method and Description |
---|---|
protected TestMailServer.MailServer.MailHandler |
mailHandler(Socket socket) |
void |
resetServer() |
assertReceived, getMessages, getPort, isListening, run, stop
public ImapServer(int port) throws IOException
IOException
public void resetServer()
resetServer
in class TestMailServer.MailServer
protected TestMailServer.MailServer.MailHandler mailHandler(Socket socket)
mailHandler
in class TestMailServer.MailServer