|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
sg.edu.nus.comp.nlp.ims.implement.CTestThread
sg.edu.nus.comp.nlp.ims.implement.CDemoThread
public class CDemoThread
Test thread for demo.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class sg.edu.nus.comp.nlp.ims.implement.CTestThread |
---|
CTestThread.LexeltThread |
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected java.util.regex.Pattern |
m_IDPattern
|
protected CWordNetSenseIndex |
m_SenseIndex
|
Fields inherited from class sg.edu.nus.comp.nlp.ims.implement.CTestThread |
---|
m_Connection, m_ConnReader, m_Corpus, m_CorpusName, m_CountDown, m_EndSymbol, m_Evaluator, m_FeatureExtractorName, m_In, m_InstanceExtractorName, m_InstanceLexeltIDs, m_Lexelts, m_Out, m_Results, m_ThreadPool, m_Writer |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
CDemoThread(java.net.Socket connection,
IEvaluator evaluator,
IResultWriter resultWriter,
CWordNetSenseIndex wordNetSenseIndex,
java.lang.String endSymbol,
java.lang.String[] options)
constructor |
Method Summary | |
---|---|
protected void |
collect()
collect results |
Methods inherited from class sg.edu.nus.comp.nlp.ims.implement.CTestThread |
---|
exit, getDateTime, initSocket, load, run, setOptions, test |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected CWordNetSenseIndex m_SenseIndex
protected java.util.regex.Pattern m_IDPattern
Constructor Detail |
---|
public CDemoThread(java.net.Socket connection, IEvaluator evaluator, IResultWriter resultWriter, CWordNetSenseIndex wordNetSenseIndex, java.lang.String endSymbol, java.lang.String[] options) throws java.io.IOException
connection
- socket connectionevaluator
- evaluatorresultWriter
- result writerwordNetSenseIndex
- wordnet sense indexendSymbol
- ending symbol of communicationoptions
- parameters
java.io.IOException
- exception while reading socketMethod Detail |
---|
protected void collect()
CTestThread
collect
in class CTestThread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |