1.0.0

org.eclipse.soda.dk.comm
Class ParallelErrorEventThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.eclipse.soda.dk.comm.ParallelErrorEventThread
All Implemented Interfaces:
java.lang.Runnable

 class ParallelErrorEventThread
extends java.lang.Thread

Version:
1.0.0

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  NSParallelPort pp
          Define the pp (NSParallelPort) field.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ParallelErrorEventThread(int ifd, NSParallelPort port)
          Constructs an instance of this class from the specified ifd and port parameters.
 
Method Summary
 int getPollingTime()
          Gets the polling time (int) value.
 int getStopThreadFlag()
          Gets the stop thread flag (int) value.
 void run()
          Run.
 void setStopThreadFlag(int value)
          Sets the stop thread flag value.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pp

NSParallelPort pp
Define the pp (NSParallelPort) field.

Constructor Detail

ParallelErrorEventThread

ParallelErrorEventThread(int ifd,
                         NSParallelPort port)
Constructs an instance of this class from the specified ifd and port parameters.

Parameters:
ifd - The ifd (int) parameter.
port - The port (NSParallelPort) parameter.
Method Detail

getPollingTime

public int getPollingTime()
Gets the polling time (int) value.

Returns:
The polling time (int) value.

getStopThreadFlag

public int getStopThreadFlag()
Gets the stop thread flag (int) value.

Returns:
The stop thread flag (int) value.
See Also:
setStopThreadFlag(int)

run

public void run()
Run.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

setStopThreadFlag

public void setStopThreadFlag(int value)
Sets the stop thread flag value.

Parameters:
value - The value (int) parameter.
See Also:
getStopThreadFlag()

1.0.0

Copyright (c) 1999, 2007 IBM