Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier and Type | Method and Description |
---|---|
void |
close() |
static SocketAcceptorThread |
create() |
Socket |
getAcceptedSocket() |
String |
getHostName() |
int |
getPort() |
void |
run() |
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 static SocketAcceptorThread create() throws Exception
Exception
public String getHostName() throws UnknownHostException
UnknownHostException
public int getPort()
public Socket getAcceptedSocket()
Copyright © 2000-2014. All Rights Reserved.