lejos.subsumption
Class ActivityBase
java.lang.Object
java.lang.Thread
lejos.subsumption.ActivityBase
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- Activity
public abstract class ActivityBase
- extends Thread
Useful base class. Makes it less obvious
that we happen to be subclassing Thread.
In addition if you need an activity that executes whenever a Activity
is executed, you can subclass this and waut() on monitor.
- Author:
- Paul Andrews
- See Also:
Activity
Constructor Summary |
ActivityBase()
Set this thread to be a daemon thread. |
Methods inherited from class java.lang.Thread |
currentThread, getPriority, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, run, setDaemon, setPriority, sleep, start, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
monitor
protected static final Object monitor
ActivityBase
public ActivityBase()
- Set this thread to be a daemon thread.