com.uwyn.drone.core
Class ModuleRunner

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.uwyn.drone.core.ModuleRunner
All Implemented Interfaces:
Runnable

public class ModuleRunner
extends Thread


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ModuleRunner(Bot bot, Module module)
           
 
Method Summary
 void addMessage(ModuleMessage message)
           
 boolean isRunning()
           
 void run()
           
 void setRunning(boolean running)
           
 
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

ModuleRunner

public ModuleRunner(Bot bot,
                    Module module)
Method Detail

setRunning

public void setRunning(boolean running)

isRunning

public boolean isRunning()

addMessage

public void addMessage(ModuleMessage message)

run

public void run()


Copyright © 2002-2005 Uwyn bvba/sprl. All Rights Reserved.