com.icegreen.greenmail
Class AbstractServer
java.lang.Object
java.lang.Thread
com.icegreen.greenmail.util.Service
com.icegreen.greenmail.AbstractServer
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- ImapServer, Pop3Server, SmtpServer
public abstract class AbstractServer
- extends Service
- Since:
- Feb 2, 2006
- Version:
- $Id: $
- Author:
- Wael Chatila
Methods inherited from class com.icegreen.greenmail.util.Service |
destroy, init, isRunning, keepOn, quit, run, setRunning, startService, stopService, stopService, stopService, wait_for_running |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, 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 |
bindTo
protected final InetAddress bindTo
serverSocket
protected ServerSocket serverSocket
handlers
protected Vector handlers
managers
protected Managers managers
setup
protected ServerSetup setup
AbstractServer
protected AbstractServer(ServerSetup setup,
Managers managers)
openServerSocket
protected ServerSocket openServerSocket()
throws IOException
- Throws:
IOException
getBindTo
public String getBindTo()
getPort
public int getPort()
getProtocol
public String getProtocol()
getServerSetup
public ServerSetup getServerSetup()
toString
public String toString()
- Overrides:
toString
in class Thread