|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.notify.NotifyThread
org.openorb.notify.queue.EventQueueReceiver
public class EventQueueReceiver
Constructor Summary | |
---|---|
EventQueueReceiver(java.lang.String id,
EventQueue queue,
org.apache.avalon.framework.logger.Logger logger)
Default constructor |
Method Summary | |
---|---|
void |
addDispatcher(EventDispatcher newDispatcher)
This method adds a dispatcher |
void |
pushEvent(java.lang.Object event)
This method is invoked by the proxy upon receipt of a new event. |
void |
removeDispatcher(EventDispatcher oldDispatcher)
This method removes a dispatcher |
void |
run()
The run method waits for new events and pushes them in the queue |
void |
stopThread()
Stop the thread |
Methods inherited from class org.openorb.notify.NotifyThread |
---|
finishWorkAndStopThread, getLogger, resumeThread, startThread, suspendThread, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EventQueueReceiver(java.lang.String id, EventQueue queue, org.apache.avalon.framework.logger.Logger logger)
Method Detail |
---|
public void addDispatcher(EventDispatcher newDispatcher)
public void removeDispatcher(EventDispatcher oldDispatcher)
public void pushEvent(java.lang.Object event)
public void run()
public void stopThread()
stopThread
in interface ThreadManagement
stopThread
in class NotifyThread
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |