public class StpThread extends Thread
StpConnectionListener which listens for incoming connections and
accepts those connections.
This thread also owns the SocketMonitor instances so all network traffic and
communication is happening on this thread.Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
StpThread(int port,
ConnectionHandler handler,
EventHandler eventHandler,
boolean manualConnect) |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
void |
shutdown() |
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 StpThread(int port,
ConnectionHandler handler,
EventHandler eventHandler,
boolean manualConnect)
throws IOException
IOExceptionCopyright © 2012. All Rights Reserved.