LookupEventBus

abstract class LookupEventBus[E, S, C] extends EventBus[E, S, C]

Java API: See documentation for akka.event.LookupClassification E is the Event type S is the Subscriber type C is the Classifier type

Source:
EventBusJavaAPI.scala
trait EventBus[E, S, C]
class Object
trait Matchable
class Any

Value members

Abstract methods

protected def classify(event: E): C

Returns the Classifier associated with the given Event

Returns the Classifier associated with the given Event

Source:
EventBusJavaAPI.scala
protected def compareSubscribers(a: S, b: S): Int

Provides a total ordering of Subscribers (think java.util.Comparator.compare)

Provides a total ordering of Subscribers (think java.util.Comparator.compare)

Source:
EventBusJavaAPI.scala
protected def mapSize(): Int

This is a size hint for the number of Classifiers you expect to have (use powers of 2)

This is a size hint for the number of Classifiers you expect to have (use powers of 2)

Source:
EventBusJavaAPI.scala
protected def publish(event: E, subscriber: S): Unit

Publishes the given Event to the given Subscriber

Publishes the given Event to the given Subscriber

Source:
EventBusJavaAPI.scala

Concrete methods

override def publish(event: E): Unit
Definition Classes
Source:
EventBusJavaAPI.scala
override def subscribe(subscriber: S, to: C): Boolean
Definition Classes
Source:
EventBusJavaAPI.scala
override def unsubscribe(subscriber: S, from: C): Boolean
Definition Classes
Source:
EventBusJavaAPI.scala
override def unsubscribe(subscriber: S): Unit
Definition Classes
Source:
EventBusJavaAPI.scala