org.radrails.server.core.webrick
Class WEBrickServerThread

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.radrails.server.core.webrick.WEBrickServerThread
All Implemented Interfaces:
java.lang.Runnable

public class WEBrickServerThread
extends java.lang.Thread

The execution thread for WEBrickServer. The actual server process runs in this class.

Author:
mkent,Kyle

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
WEBrickServerThread(java.io.File project, java.lang.String port, WEBrickServer server)
          Constructor.
 
Method Summary
 void run()
           
 void stopProcess()
          Stops the server process.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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
 

Constructor Detail

WEBrickServerThread

public WEBrickServerThread(java.io.File project,
                           java.lang.String port,
                           WEBrickServer server)
Constructor.

Parameters:
project - the location of the project the server is associated with
port - the number of the port the server runs on
Method Detail

run

public void run()
See Also:
Runnable.run()

stopProcess

public void stopProcess()
Stops the server process.