public abstract class AbstractServer extends Service
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected InetAddress |
bindTo |
protected Vector |
handlers |
protected Managers |
managers |
protected ServerSocket |
serverSocket |
protected ServerSetup |
setup |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier | Constructor and Description |
|---|---|
protected |
AbstractServer(ServerSetup setup,
Managers managers) |
| Modifier and Type | Method and Description |
|---|---|
void |
deregisterHandler(Object handler) |
String |
getBindTo() |
int |
getPort() |
String |
getProtocol() |
ServerSetup |
getServerSetup() |
protected ServerSocket |
openServerSocket() |
String |
toString() |
destroy, init, keepOn, quit, run, startService, stopService, stopService, stopServiceactiveCount, 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 InetAddress bindTo
protected ServerSocket serverSocket
protected Vector handlers
protected Managers managers
protected ServerSetup setup
protected AbstractServer(ServerSetup setup, Managers managers)
protected ServerSocket openServerSocket() throws IOException
IOExceptionpublic String getBindTo()
public int getPort()
public String getProtocol()
public ServerSetup getServerSetup()
public void deregisterHandler(Object handler)
Copyright © 2005–2017 Alfresco Software. All rights reserved.