public abstract class AbstractServer extends Service
| Modifier and Type | Field and Description |
|---|---|
protected java.net.InetAddress |
bindTo |
protected java.util.Vector |
handlers |
protected Managers |
managers |
protected java.net.ServerSocket |
serverSocket |
protected ServerSetup |
setup |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractServer(ServerSetup setup,
Managers managers) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBindTo() |
int |
getPort() |
java.lang.String |
getProtocol() |
ServerSetup |
getServerSetup() |
protected java.net.ServerSocket |
openServerSocket() |
java.lang.String |
toString() |
destroy, init, isRunning, keepOn, quit, run, setRunning, startService, stopService, stopService, stopService, wait_for_runningactiveCount, 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, yieldprotected final java.net.InetAddress bindTo
protected java.net.ServerSocket serverSocket
protected java.util.Vector handlers
protected Managers managers
protected ServerSetup setup
protected AbstractServer(ServerSetup setup, Managers managers)
protected java.net.ServerSocket openServerSocket()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getBindTo()
public int getPort()
public java.lang.String getProtocol()
public ServerSetup getServerSetup()
public java.lang.String toString()
toString in class java.lang.Thread