public class MappedBcReader extends java.lang.Thread implements AsynchBcReader, Debuggable
This class Manages a single backchannel input connection.
MappedBcReader listens on a backchannel and routs messages to the appropriate service provider, based on the first tag-value pair in the message.
| Modifier and Type | Field and Description |
|---|---|
protected SrvrChan |
bkchnl |
static java.lang.String[] |
DEP_LIST
Class dependencies.
|
protected ProvMap |
provMap |
static java.lang.String |
VERSION
Class version.
|
IF_VERSIONIF_VERSION| Constructor and Description |
|---|
MappedBcReader(SrvrChan conn,
ProvMap map) |
| Modifier and Type | Method and Description |
|---|---|
java.io.PrintWriter |
getLogDest() |
boolean |
isDebugging()
Get debug state.
|
void |
processNewData(TvList dataRec) |
boolean |
requestStop() |
void |
run() |
void |
setDebugging(boolean debug)
Set or clear debugging
|
void |
setLogDest(java.io.PrintWriter logDest) |
void |
start() |
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, stop, stop, suspend, toString, yieldpublic static final java.lang.String VERSION
public static final java.lang.String[] DEP_LIST
protected SrvrChan bkchnl
protected ProvMap provMap
public void setDebugging(boolean debug)
DebuggablesetDebugging in interface Debuggabledebug - If true, debugging is turned on,
otherwise, debugging is turned off.public boolean isDebugging()
DebuggableisDebugging in interface Debuggablepublic void setLogDest(java.io.PrintWriter logDest)
setLogDest in interface AsynchBcReaderpublic java.io.PrintWriter getLogDest()
getLogDest in interface AsynchBcReaderpublic void start()
start in interface AsynchBcReaderstart in class java.lang.Threadpublic boolean requestStop()
requestStop in interface AsynchBcReaderpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void processNewData(TvList dataRec)
processNewData in interface AsynchBcReader