|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventBus
Represents the base type for EventBuses Internally has an Event type, a Classifier type and a Subscriber type
For the Java API, see akka.event.japi.*
Method Summary | |
---|---|
void |
publish(EventBus event)
Publishes the specified Event to this bus |
boolean |
subscribe(EventBus subscriber,
EventBus to)
|
void |
unsubscribe(EventBus subscriber)
Attempts to deregister the subscriber from all Classifiers it may be subscribed to |
boolean |
unsubscribe(EventBus subscriber,
EventBus from)
Attempts to deregister the subscriber from the specified Classifier |
Method Detail |
---|
boolean subscribe(EventBus subscriber, EventBus to)
boolean unsubscribe(EventBus subscriber, EventBus from)
subscriber
- (undocumented)from
- (undocumented)
void unsubscribe(EventBus subscriber)
subscriber
- (undocumented)void publish(EventBus event)
event
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |