|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.raritantechnologies.utils.queue.QueueEventDispatcher
Base class for QueueEventDispatchers. Runs in separate thread.
Subclasses need to provide constructor and implement the dispatch method.
| Field Summary | |
protected QueueManager |
manager
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
QueueEventDispatcher(QueueManager manager)
|
|
| Method Summary | |
protected abstract void |
dispatch(java.lang.Object theEvent)
|
void |
run()
|
void |
start()
|
void |
stopIt()
|
| 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, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected QueueManager manager
| Constructor Detail |
public QueueEventDispatcher(QueueManager manager)
| Method Detail |
public void start()
public void stopIt()
public void run()
protected abstract void dispatch(java.lang.Object theEvent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||