public class CASDeliveryThread extends java.lang.Thread implements SToC.CASDataReceiver
SToC CAS data
generator to deliver the results of an individual SiGML-to-CAS
request.| Constructor and Description |
|---|
CASDeliveryThread(SToCThread.CASDataDelivery cassink,
SToCApplet.SToCALogger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
postNextCASChunk(java.lang.String caschunk)
Posts the given CAS data chunk onto this thread's input queue.
|
void |
run()
This thread's main processing method: takes successive CAS data
chunks from the queue and posts them (synchronously) to the
thread's receiver.
|
void |
terminateCASSequence()
Indicates the completion of CAS generation, that is, that all
CAS data chunks have now been posted onto this thread's input queue.
|
activeCount, checkAccess, 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 CASDeliveryThread(SToCThread.CASDataDelivery cassink, SToCApplet.SToCALogger logger)
public void postNextCASChunk(java.lang.String caschunk)
postNextCASChunk in interface SToC.CASDataReceiverpublic void terminateCASSequence()
terminateCASSequence in interface SToC.CASDataReceiverpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Thread