public class NGSession
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
static java.lang.ClassLoader |
classLoader
A ClassLoader that may be set by a client.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
The main NGSession loop.
|
void |
run(java.net.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 java.lang.ClassLoader classLoader
public void run(java.net.Socket socket)
socket - the socket (connected to a client) to processpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Thread