public class SmtpServer extends AbstractServer
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT
Default SMTP Caldav port
|
nosslFlagMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
SmtpServer(int port)
Create a ServerSocket to listen for connections.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractConnection |
createConnectionHandler(Socket clientSocket)
Create a connection handler for the current listener.
|
String |
getProtocolName()
Get server protocol name (SMTP, POP, IMAP, ...).
|
bind, close, getKeyManagers, getPort, getTrustManagers, runactiveCount, 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, toString, yieldpublic static final int DEFAULT_PORT
public SmtpServer(int port)
port - smtp portpublic String getProtocolName()
AbstractServergetProtocolName in class AbstractServerpublic AbstractConnection createConnectionHandler(Socket clientSocket)
AbstractServercreateConnectionHandler in class AbstractServerclientSocket - client socketCopyright © 2001–2025 MickaĆ«l Guessant. All rights reserved.