Thread.State, Thread.UncaughtExceptionHandler
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
isConnecting |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
构造器和说明 |
---|
SocketThread(String host,
int port,
boolean isLong,
int timeout,
ExecutorService executorService,
SocketHandler socketHandler) |
限定符和类型 | 方法和说明 |
---|---|
void |
disconnect() |
boolean |
handleSocketRead() |
boolean |
handleSocketWrite() |
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 SocketThread(String host, int port, boolean isLong, int timeout, ExecutorService executorService, SocketHandler socketHandler)