public class InterruptableSmtpServer
extends com.icegreen.greenmail.smtp.SmtpServer
Thread.State, Thread.UncaughtExceptionHandler
bindTo, CLIENT_SOCKET_SO_TIMEOUT, log, managers, serverSocket, setup
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
InterruptableSmtpServer(com.icegreen.greenmail.util.ServerSetup setup,
com.icegreen.greenmail.Managers managers) |
Modifier and Type | Method and Description |
---|---|
protected com.icegreen.greenmail.server.ProtocolHandler |
createProtocolHandler(Socket clientSocket) |
void |
setRejectRequests(boolean rejectRequests) |
closeServerSocket, createSession, createSession, createSession, createStore, getBindTo, getPort, getProtocol, getServerSetup, handleClientSocket, initServerSocket, isRunning, keepOn, openServerSocket, quit, run, setRunning, startService, stopService, stopService, toString, waitTillRunning
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield
public InterruptableSmtpServer(com.icegreen.greenmail.util.ServerSetup setup, com.icegreen.greenmail.Managers managers)
protected com.icegreen.greenmail.server.ProtocolHandler createProtocolHandler(Socket clientSocket)
createProtocolHandler
in class com.icegreen.greenmail.smtp.SmtpServer
public void setRejectRequests(boolean rejectRequests)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.