modnlp.tec.server
public class Server extends java.lang.Thread
TecCorpusFile
,
TecLogFile
,
TecDicFile
,
TecDictionary
,
FilePosStr
Constructor and Description |
---|
Server()
Initialize the server
|
Modifier and Type | Method and Description |
---|---|
void |
initLogFile()
Initialize the logfile for this server
|
static void |
main(java.lang.String[] arg)
Start a server to listen for connection on
PORTNUM |
void |
run() |
activeCount, checkAccess, clone, 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 void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void initLogFile()
public static void main(java.lang.String[] arg) throws java.io.IOException
PORTNUM
arg[0]
- The (serialized object) dictionary
file to be used by the serverjava.io.IOException