@Deprecated public class SocketAcceptThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
SocketAcceptThread(int tcpPort,
InetAddress bindInterface)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getPort()
Deprecated.
Retrieve the port this server socket is bound to.
|
ServerPort |
getServerPort()
Deprecated.
Returns information about the port on which the server is listening for connections.
|
void |
run()
Deprecated.
About as simple as it gets.
|
void |
shutdown()
Deprecated.
Unblock the thread and force it to terminate.
|
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, toString, yield
public SocketAcceptThread(int tcpPort, InetAddress bindInterface) throws IOException
IOException
public int getPort()
public ServerPort getServerPort()
public void shutdown()
Copyright © 2003-2008 Jive Software.