|
||||||||||
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 |
---|
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,
SToCApplet.CASDispatch casback)
Accepts a CAS generation request for the given SiGML text and avatar, posts the request to the processing thread, and returns the result when it becomes available. |
void |
requestSiGMLURLToCAS(java.lang.String sigmlurl,
java.lang.String avatar,
SToCApplet.CASDispatch casback)
Accepts a CAS generation request for the given SiGML URL and avatar, posts the request to the processing thread, and returns the result when it becomes available. |
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, SToCApplet.CASDispatch casback)
public void requestSiGMLTextToCAS(java.lang.String sigml, java.lang.String avatar, SToCApplet.CASDispatch casback)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |