darx
Class MessageDeliverThread

java.lang.Object
  extended by java.lang.Thread
      extended by darx.MessageDeliverThread
All Implemented Interfaces:
java.lang.Runnable

 class MessageDeliverThread
extends java.lang.Thread

This is the thread that handles the reception of asynchronous messages for the TaskShell.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  DarxMessage msg
          The received message, in DARX format.
protected  DarxTask task
          The task to which the message is destined.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MessageDeliverThread(DarxMessage msg, DarxTask task)
          Constructs a new instance for this class.
 
Method Summary
 void run()
          Executes the message handling.
 
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

msg

protected DarxMessage msg
The received message, in DARX format.


task

protected DarxTask task
The task to which the message is destined.

Constructor Detail

MessageDeliverThread

MessageDeliverThread(DarxMessage msg,
                     DarxTask task)
Constructs a new instance for this class.

Parameters:
msg - the received message, in DARX format.
task - the task to which the message is destined.
Method Detail

run

public void run()
Executes the message handling.

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