trait EventBus extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- EventBus
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def publish(event: Event): Unit
Publishes the specified Event to this bus
- abstract def subscribe(subscriber: Subscriber, to: Classifier): Boolean
Attempts to register the subscriber to the specified Classifier
Attempts to register the subscriber to the specified Classifier
- returns
true if successful and false if not (because it was already subscribed to that Classifier, or otherwise)
- abstract def unsubscribe(subscriber: Subscriber): Unit
Attempts to deregister the subscriber from all Classifiers it may be subscribed to
- abstract def unsubscribe(subscriber: Subscriber, from: Classifier): Boolean
Attempts to deregister the subscriber from the specified Classifier
Attempts to deregister the subscriber from the specified Classifier
- returns
true if successful and false if not (because it wasn't subscribed to that Classifier, or otherwise)
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.*