|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lwes.listener.ThreadedEventListener
public abstract class ThreadedEventListener
| Field Summary | |
|---|---|
protected ThreadedProcessor |
processor
|
| Constructor Summary | |
|---|---|
ThreadedEventListener()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addHandler(EventHandler handler)
Add an EventHandler to handle events for processing. |
ThreadedDequeuer |
getDequeuer()
Gets the dequeuer being used by this listener |
ThreadedEnqueuer |
getEnqueuer()
Gets the enqueuer being used by this listener |
void |
initialize()
Initializes this listener, and starts the processor threads |
void |
setDequeuer(ThreadedDequeuer dequeuer)
Sets the dequeuer used by this listener |
void |
setEnqueuer(ThreadedEnqueuer enqueuer)
Sets the enqueuer to use for this listener |
void |
shutdown()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ThreadedProcessor processor
| Constructor Detail |
|---|
public ThreadedEventListener()
| Method Detail |
|---|
public ThreadedEnqueuer getEnqueuer()
public void setEnqueuer(ThreadedEnqueuer enqueuer)
enqueuer - the enqueuer to setpublic ThreadedDequeuer getDequeuer()
public void setDequeuer(ThreadedDequeuer dequeuer)
dequeuer - the dequeuer to setpublic void addHandler(EventHandler handler)
addHandler in interface EventListenerhandler - the EventHandler to add
public void initialize()
throws EventSystemException
EventSystemException - if there is a problem initializing the listener
public void shutdown()
throws EventSystemException
EventSystemException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||