ucar.visad
Class TestSkeleton

java.lang.Object
  extended by java.lang.Thread
      extended by ucar.visad.TestSkeleton
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
UISkeleton

public abstract class TestSkeleton
extends Thread

Test skeleton for local and remote displays.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TestSkeleton()
          Constructs from nothing.
TestSkeleton(String[] args)
          Constructs from an array of arguments.
 
Method Summary
 boolean processArgs(String[] args)
          Processes the constructor arguments.
 void startThreads()
          Starts the client & server threads.
 String toString()
          Returns a string representation of this instance.
 
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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestSkeleton

public TestSkeleton()
Constructs from nothing.


TestSkeleton

public TestSkeleton(String[] args)
             throws VisADException,
                    RemoteException
Constructs from an array of arguments.

Parameters:
args - The arguments.
Throws:
VisADException - if a core VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.
Method Detail

processArgs

public boolean processArgs(String[] args)
Processes the constructor arguments.

Parameters:
args - The arguments.
Returns:
true if the arguments were sucessfully processed.

startThreads

public void startThreads()
                  throws VisADException,
                         RemoteException
Starts the client & server threads.

Throws:
VisADException - if a core VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.

toString

public String toString()
Returns a string representation of this instance. This implementation returns null.

Overrides:
toString in class Thread
Returns:
a string representation of this instance.