|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EventBus<E,S,C>
Java API: See documentation for EventBus
E is the Event type
S is the Subscriber type
C is the Classifier type
| Method Summary | |
|---|---|
void |
publish(E event)
Publishes the specified Event to this bus |
boolean |
subscribe(S subscriber,
C to)
Attempts to register the subscriber to the specified Classifier |
void |
unsubscribe(S subscriber)
Attempts to deregister the subscriber from all Classifiers it may be subscribed to |
boolean |
unsubscribe(S subscriber,
C from)
Attempts to deregister the subscriber from the specified Classifier |
| Method Detail |
|---|
boolean subscribe(S subscriber,
C to)
subscriber - (undocumented)to - (undocumented)
boolean unsubscribe(S subscriber,
C from)
subscriber - (undocumented)from - (undocumented)
void unsubscribe(S subscriber)
subscriber - (undocumented)void publish(E event)
event - (undocumented)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||