Class DispatcherThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--DispatcherThread
All Implemented Interfaces:
java.lang.Runnable

public class DispatcherThread
extends java.lang.Thread


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
DispatcherThread(LinkedListQ incomingQueue, LinkedListQ Objectives, LinkedListQ Agenda, java.util.Hashtable Pending, Agent local, Semaphore one, Semaphore two, Semaphore three)
           
 
Method Summary
 void achieve(KQMLmsg msg)
           
 void DebugDispatch(java.lang.String Message)
           
 void run()
           
 
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
 

Constructor Detail

DispatcherThread

public DispatcherThread(LinkedListQ incomingQueue,
                        LinkedListQ Objectives,
                        LinkedListQ Agenda,
                        java.util.Hashtable Pending,
                        Agent local,
                        Semaphore one,
                        Semaphore two,
                        Semaphore three)
Method Detail

run

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

achieve

public void achieve(KQMLmsg msg)
             throws NonCriticalAgentException,
                    CriticalAgentException
NonCriticalAgentException
CriticalAgentException

DebugDispatch

public void DebugDispatch(java.lang.String Message)