public class SToCThread
extends java.lang.Thread
SToCApplet
.Modifier and Type | Class and Description |
---|---|
static interface |
SToCThread.CASDataDelivery
Interface for CAS data delivery.
|
Modifier and Type | Method and Description |
---|---|
void |
kill()
Posts a kill task to this thread -- asynchronously, allowing an
immediate return.
|
void |
requestSiGMLTextToCAS(java.lang.String sigml,
java.lang.String avatar,
java.lang.String casfmt,
SToCApplet.CASDispatch casback)
Accepts a CAS generation request for the given SiGML text and
avatar, attaches the given
SToCApplet.CASDispatch to the request as
its associated results target, and posts the request to the
SiGML-to-CAS processing thread, waiting if necessary until that
thread is ready to accept it. |
void |
requestSiGMLURLToCAS(java.lang.String sigmlurl,
java.lang.String avatar,
java.lang.String casfmt,
SToCApplet.CASDispatch casback)
Accepts a CAS generation request for the given SiGML URL and
avatar, attaches the given
SToCApplet.CASDispatch to the request as
its associated results target, and posts the request to the
SiGML-to-CAS processing thread, waiting if necessary until that
thread is ready to accept it. |
void |
run()
Defines this thread's action -- repeatedly obtaining and
processing the next S-to-C task.
|
static SToCThread |
startTheThread(jautil.JAOptions jaopts,
SToCApplet.SToCALogger logger) |
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, yield
public static SToCThread startTheThread(jautil.JAOptions jaopts, SToCApplet.SToCALogger logger)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void kill()
public void requestSiGMLURLToCAS(java.lang.String sigmlurl, java.lang.String avatar, java.lang.String casfmt, SToCApplet.CASDispatch casback)
SToCApplet.CASDispatch
to the request as
its associated results target, and posts the request to the
SiGML-to-CAS processing thread, waiting if necessary until that
thread is ready to accept it.public void requestSiGMLTextToCAS(java.lang.String sigml, java.lang.String avatar, java.lang.String casfmt, SToCApplet.CASDispatch casback)
SToCApplet.CASDispatch
to the request as
its associated results target, and posts the request to the
SiGML-to-CAS processing thread, waiting if necessary until that
thread is ready to accept it.