com.mtp.pounder
Class RecordingThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.mtp.pounder.RecordingThread
All Implemented Interfaces:
Runnable

public class RecordingThread
extends Thread

Responsible for handling the Recording process.

Author:
Matthew Pekar

Field Summary
protected  ClassLoader classLoader
           
protected  PounderModel model
           
protected  Recording recording
           
protected  boolean stopRequested
           
protected  WindowWatcher windowWatcher
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RecordingThread(PounderModel model, Recording r)
           
 
Method Summary
protected  void buildTestObject()
           
protected  void doTermination()
           
protected  void initWindowWatcher()
           
 boolean isPaused()
           
 void run()
           
 void setPaused(boolean b)
           
 void setStopRequested(boolean b)
          Set whether stop should occur when possible.
 
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
 

Field Detail

recording

protected Recording recording

model

protected PounderModel model

windowWatcher

protected volatile WindowWatcher windowWatcher

stopRequested

protected volatile boolean stopRequested

classLoader

protected ClassLoader classLoader
Constructor Detail

RecordingThread

public RecordingThread(PounderModel model,
                       Recording r)
Method Detail

setStopRequested

public void setStopRequested(boolean b)
Set whether stop should occur when possible.


buildTestObject

protected void buildTestObject()
                        throws Exception
Exception

initWindowWatcher

protected void initWindowWatcher()

setPaused

public void setPaused(boolean b)

isPaused

public boolean isPaused()

run

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

doTermination

protected void doTermination()


Copyright © 2002 Matthew Pekar. All Rights Reserved.