net.spy.util
Class QuickRun

java.lang.Object
  extended byjava.lang.Thread
      extended bynet.spy.SpyThread
          extended bynet.spy.util.QuickRun
All Implemented Interfaces:
Runnable

public class QuickRun
extends SpyThread

Listens on a socket and lets you run stuff without firing up a new JVM.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
QuickRun(int port)
           
QuickRun(Socket s)
           
 
Method Summary
 void goServer()
          Start up the server.
static void main(String[] args)
          Testing.
 void run()
           
 
Methods inherited from class net.spy.SpyThread
getLogger
 
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

QuickRun

public QuickRun(Socket s)
         throws Exception

QuickRun

public QuickRun(int port)
         throws Exception
Method Detail

run

public void run()

goServer

public void goServer()
              throws Exception
Start up the server.

Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Testing.

Throws:
Exception