|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
app.util.SToCThread
public class SToCThread
SiGML-to-CAS thread, providing support for the SToCApplet
.
Nested Class Summary | |
---|---|
static interface |
SToCThread.CASDataDelivery
Interface for CAS data delivery. |
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Thread |
---|
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |