protected static class AbstractActiveNetModule.MainThread extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
MainThread(AbstractActiveNetModule aOwner,
String sAddress,
int nPort) |
| Modifier and Type | Method and Description |
|---|---|
protected Socket |
createAcceptSocket() |
void |
run() |
void |
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, yieldpublic MainThread(@Nonnull AbstractActiveNetModule aOwner, @Nullable String sAddress, @Nonnegative int nPort) throws IOException
IOException@OverrideOnDemand protected Socket createAcceptSocket() throws IOException
IOExceptionpublic void terminate()
Copyright © 2013–2022 Philip Helger. All rights reserved.