com.planet_ink.coffee_mud.core.threads
Class CMFactoryThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.planet_ink.coffee_mud.core.threads.CMFactoryThread
All Implemented Interfaces:
java.lang.Runnable

public class CMFactoryThread
extends java.lang.Thread


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
CMFactoryThread(java.lang.ThreadGroup group, java.lang.Runnable runnable, java.lang.String name)
           
 
Method Summary
 java.lang.Runnable getRunnable()
          Returns the runnable currently running if available
 void setRunnable(java.lang.Runnable runnable)
          Sets the runnable currently running if available
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, 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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CMFactoryThread

public CMFactoryThread(java.lang.ThreadGroup group,
                       java.lang.Runnable runnable,
                       java.lang.String name)
Method Detail

setRunnable

public void setRunnable(java.lang.Runnable runnable)
Sets the runnable currently running if available

Parameters:
runnable - the runnable running

getRunnable

public java.lang.Runnable getRunnable()
Returns the runnable currently running if available

Returns:
the runnable running