|
TPTP 4.0.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.logging.adapter.impl.ComponentBroker
Basic implementation of the IComponentBroker interface.
| Constructor Summary | |
|---|---|
ComponentBroker(java.lang.String name,
IContextListener listener)
ComponentBroker constructor |
|
| Method Summary | |
|---|---|
void |
addEventConsumer(IComponent con)
Adds the component that will be the consumer of the event data |
void |
flushAndTerminate()
Flush the events left in the queue to the consumers and terminate the broker. |
void |
queueEvents(java.lang.Object[] obj)
Push some events into the queues for processing |
void |
setNextBroker(IComponentBroker nextBroker)
Set the next component broker |
void |
start()
Start the component broker. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ComponentBroker(java.lang.String name,
IContextListener listener)
name - - name of component broker. Currently this name is not used.listener - - Context listener| Method Detail |
public void addEventConsumer(IComponent con)
IComponentBroker
addEventConsumer in interface IComponentBrokercon - - consumer component of the datapublic void setNextBroker(IComponentBroker nextBroker)
IComponentBroker
setNextBroker in interface IComponentBrokernextBroker - component brokerpublic void queueEvents(java.lang.Object[] obj)
queueEvents in interface IComponentBrokerobj - - array of event objects to add to the queue for processingpublic void start()
IComponentBroker
start in interface IComponentBroker
public void flushAndTerminate()
throws java.lang.InterruptedException
IComponentBroker
flushAndTerminate in interface IComponentBrokerjava.lang.InterruptedException
|
TPTP 4.0.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||