public class PopServer extends AbstractServer
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description | 
|---|---|
static int | 
DEFAULT_PORT
Default POP port 
 | 
nosslFlagMAX_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, 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 PopServer(int port)
port - pop listen port, 110 if not defined (0)public String getProtocolName()
AbstractServergetProtocolName in class AbstractServerpublic AbstractConnection createConnectionHandler(Socket clientSocket)
AbstractServercreateConnectionHandler in class AbstractServerclientSocket - client socketCopyright © 2001–2025 MickaĆ«l Guessant. All rights reserved.