public interface EventBus
For the Java API, see akka.event.japi.*
Modifier and Type | Method and Description |
---|---|
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
|
boolean unsubscribe(EventBus subscriber, EventBus from)
subscriber
- (undocumented)from
- (undocumented)void unsubscribe(EventBus subscriber)
subscriber
- (undocumented)void publish(EventBus event)
event
- (undocumented)