Emu8255
Class CheckControlWord

java.lang.Object
  extended by java.lang.Thread
      extended by Emu8255.CheckControlWord
All Implemented Interfaces:
java.lang.Runnable

public class CheckControlWord
extends java.lang.Thread

This class repeatedly reads from IO_FILE (C:\emu8086.io) every msec milliseconds checking whether or not the control word has changed.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CheckControlWord(Emu8255 mainclass, Emu8255GUI gui, int msec)
          Parameterized Constructor.
 
Method Summary
 void run()
          This method actually reads from file.
 
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
 

Constructor Detail

CheckControlWord

public CheckControlWord(Emu8255 mainclass,
                        Emu8255GUI gui,
                        int msec)
Parameterized Constructor.

Parameters:
gui - A reference to the Emu8255 user interface.
msec - Time delay between each reading from file.
Method Detail

run

public void run()
This method actually reads from file.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread
Throws:
java.lang.InterruptedException
See Also:
IO