Class InterruptableSmtpServer

java.lang.Object
java.lang.Thread
com.icegreen.greenmail.server.AbstractServer
com.icegreen.greenmail.smtp.SmtpServer
com.icegreen.greenmail.smtp.InterruptableSmtpServer
All Implemented Interfaces:
com.icegreen.greenmail.util.Service, Runnable

public class InterruptableSmtpServer extends com.icegreen.greenmail.smtp.SmtpServer
  • Constructor Details

    • InterruptableSmtpServer

      public InterruptableSmtpServer(com.icegreen.greenmail.util.ServerSetup setup, com.icegreen.greenmail.Managers managers)
  • Method Details

    • createProtocolHandler

      protected com.icegreen.greenmail.server.ProtocolHandler createProtocolHandler(Socket clientSocket)
      Overrides:
      createProtocolHandler in class com.icegreen.greenmail.smtp.SmtpServer
    • setRejectRequests

      public void setRejectRequests(boolean rejectRequests)