public final class ImapServer extends AbstractServer
Thread.State, Thread.UncaughtExceptionHandler
bindTo, CLIENT_SOCKET_SO_TIMEOUT, log, managers, serverSocket, setup
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ImapServer(ServerSetup setup,
Managers managers) |
Modifier and Type | Method and Description |
---|---|
protected ProtocolHandler |
createProtocolHandler(Socket clientSocket)
Create a new, specific protocol handler such as for IMAP.
|
IMAPStore |
createStore()
Creates a new JavaMail store.
|
closeServerSocket, createSession, createSession, createSession, 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 ImapServer(ServerSetup setup, Managers managers)
protected ProtocolHandler createProtocolHandler(Socket clientSocket)
AbstractServer
createProtocolHandler
in class AbstractServer
clientSocket
- the client socket to use.public IMAPStore createStore() throws NoSuchProviderException
AbstractServer
createStore
in class AbstractServer
NoSuchProviderException
Copyright © 2006–2020 Icegreen Technologies. All rights reserved.