public class NGSession extends Thread
| Modifier and Type | Class and Description |
|---|---|
static interface |
NGSession.CommnunicatorCreator |
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
static ClassLoader |
classLoader
A ClassLoader that may be set by a client.
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier and Type | Method and Description |
|---|---|
void |
run()
The main NGSession loop.
|
void |
run(Socket socket)
Instructs this NGSession to process the specified socket, after which this NGSession will
return itself to the pool from which it came.
|
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 static volatile ClassLoader classLoader
public void run(Socket socket)
socket - the socket (connected to a client) to processCopyright © 2025. All rights reserved.