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