public class PopServer extends AbstractServer
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PORT
Default POP port
|
nosslFlag
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
PopServer(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, run
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, toString, yield
public static final int DEFAULT_PORT
public PopServer(int port)
port
- pop listen port, 110 if not defined (0)public String getProtocolName()
AbstractServer
getProtocolName
in class AbstractServer
public AbstractConnection createConnectionHandler(Socket clientSocket)
AbstractServer
createConnectionHandler
in class AbstractServer
clientSocket
- client socketCopyright © 2001–2024 MickaĆ«l Guessant. All rights reserved.