edu.wisc.ssec.mcidasv.servermanager
Class AddeThread

java.lang.Object
  extended by java.lang.Thread
      extended by edu.wisc.ssec.mcidasv.servermanager.AddeThread
All Implemented Interfaces:
Runnable

public class AddeThread
extends Thread

Thread that actually execs mcservl


Nested Class Summary
static class AddeThread.McservEvent
          Mcserv events.
private static class AddeThread.StreamReaderThread
          Thread to read the stderr and stdout of mcservl
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
private  EntryStore entryStore
          Server manager.
(package private)  Process proc
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AddeThread(EntryStore entryStore)
          Creates a thread that controls a mcservl process.
 
Method Summary
 void run()
           
 void stopProcess()
           
 
Methods inherited from class java.lang.Thread
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

proc

Process proc

entryStore

private final EntryStore entryStore
Server manager.

Constructor Detail

AddeThread

public AddeThread(EntryStore entryStore)
Creates a thread that controls a mcservl process.

Parameters:
entryStore - Server manager.
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

stopProcess

public void stopProcess()