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_VERSION
IF_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, yield
public 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)
Debuggable
setDebugging
in interface Debuggable
debug
- If true, debugging is turned on,
otherwise, debugging is turned off.public boolean isDebugging()
Debuggable
isDebugging
in interface Debuggable
public void setLogDest(java.io.PrintWriter logDest)
setLogDest
in interface AsynchBcReader
public java.io.PrintWriter getLogDest()
getLogDest
in interface AsynchBcReader
public void start()
start
in interface AsynchBcReader
start
in class java.lang.Thread
public boolean requestStop()
requestStop
in interface AsynchBcReader
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void processNewData(TvList dataRec)
processNewData
in interface AsynchBcReader