peak.demo
Class CANReadThread

java.lang.Object
  extended by java.lang.Thread
      extended by peak.demo.CANReadThread
All Implemented Interfaces:
java.lang.Runnable, IRcvEventProcessor

public class CANReadThread
extends java.lang.Thread
implements IRcvEventProcessor


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
CANReadThread(CANLight can, java.util.HashMap data)
           
 
Method Summary
 void callAPIFunctionRead()
           
 java.lang.Boolean getUseReadEx()
           
 void processRcvEvent()
          This method is called by the RcvEventDispatcher to process the CAN Receive-Event by the current implementor
 void run()
           
 void setUseReadEx(java.lang.Boolean useReadEx)
           
 
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
 

Constructor Detail

CANReadThread

public CANReadThread(CANLight can,
                     java.util.HashMap data)
Method Detail

getUseReadEx

public java.lang.Boolean getUseReadEx()

setUseReadEx

public void setUseReadEx(java.lang.Boolean useReadEx)

run

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

callAPIFunctionRead

public void callAPIFunctionRead()

processRcvEvent

public void processRcvEvent()
Description copied from interface: IRcvEventProcessor
This method is called by the RcvEventDispatcher to process the CAN Receive-Event by the current implementor

Specified by:
processRcvEvent in interface IRcvEventProcessor