|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEventBus
Event bus that accepts events and distributes them to all interested registered consumers.
| Method Summary | |
|---|---|
void |
publishEvent(IEvent event)
Distributes the given event to all interested consumers. |
void |
register(IEventConsumer consumer)
Registers a new consumer with the event bus. |
void |
unregister(IEventConsumer consumer)
Removes a consumer from the event bus. |
| Method Detail |
|---|
void publishEvent(IEvent event)
event - the event to be distributedvoid register(IEventConsumer consumer)
consumer - the event consumer to be registeredvoid unregister(IEventConsumer consumer)
consumer - the event consumer to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||