|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
ie.deri.wsmx.manager.listeners.EventListener
| Field Summary | |
protected SystemComponent |
component
|
protected Event |
event
|
protected EventDB |
eventHandler
|
protected java.util.ArrayList |
eventsList
|
protected boolean |
runListener
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
EventListener(SystemComponent component)
|
|
| Method Summary | |
void |
handleNewEvent(Event event)
|
void |
run()
|
abstract void |
runListener()
|
void |
setSleepTime(int milliseconds)
|
protected void |
sleep()
|
void |
stopListener()
|
| 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 |
| Field Detail |
protected Event event
protected EventDB eventHandler
protected boolean runListener
protected java.util.ArrayList eventsList
protected SystemComponent component
| Constructor Detail |
public EventListener(SystemComponent component)
| Method Detail |
public abstract void runListener()
throws ListenerException
ListenerExceptionpublic void handleNewEvent(Event event)
public void stopListener()
public void setSleepTime(int milliseconds)
public void run()
protected void sleep()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||