abstract class ManagedActorEventBus[E] extends EventBus[E, ActorRef, ActorRef]
Ordering
- Alphabetic
- By Inheritance
Inherited
- ManagedActorEventBus
- EventBus
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ManagedActorEventBus(system: ActorSystem)
Concrete Value Members
- def publish(event: E): Unit
Publishes the specified Event to this bus
Publishes the specified Event to this bus
- Definition Classes
- → EventBus
- def subscribe(subscriber: ActorRef, to: ActorRef): 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)
- Definition Classes
- → EventBus
- def unsubscribe(subscriber: ActorRef): Unit
Attempts to deregister the subscriber from all Classifiers it may be subscribed to
Attempts to deregister the subscriber from all Classifiers it may be subscribed to
- Definition Classes
- → EventBus
- def unsubscribe(subscriber: ActorRef, from: ActorRef): 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)
- Definition Classes
- → EventBus
Java API: See documentation for akka.event.ManagedActorClassification An EventBus where the Subscribers are ActorRefs and the Classifier is ActorRef Means that ActorRefs "listen" to other ActorRefs E is the Event type