Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
SocketThread(BufferedReader reader,
GPSdEndpoint endpoint,
AbstractResultParser resultParser) |
SocketThread(BufferedReader reader,
GPSdEndpoint endpoint,
AbstractResultParser resultParser,
boolean daemon) |
| Modifier and Type | Method and Description |
|---|---|
void |
halt()
Halts the socket thread.
|
protected void |
retry() |
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, yieldpublic SocketThread(BufferedReader reader, GPSdEndpoint endpoint, AbstractResultParser resultParser, boolean daemon)
reader - the socket inputendpoint - the endpointresultParser - the result parserdaemon - whether to configure the thread as a daemon, as defined in Thread.setDaemon(boolean)public SocketThread(BufferedReader reader, GPSdEndpoint endpoint, AbstractResultParser resultParser)
reader - the socket inputendpoint - the endpointresultParser - the result parserCopyright © 2011–2017 Taimos GmbH. All rights reserved.