class EventBus extends ActorEventBus with SubchannelClassification
An event bus implementation which uses a class based lookup classification.
- Alphabetic
- By Inheritance
- EventBus
- SubchannelClassification
- ActorEventBus
- EventBus
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new EventBus()
Type Members
- type Classifier = Class[_ <: SilhouetteEvent]
- Definition Classes
- EventBus → EventBus
- type Event = SilhouetteEvent
- Definition Classes
- EventBus → EventBus
- type Subscriber = ActorRef
- Definition Classes
- ActorEventBus → EventBus
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def classify(event: Event): Classifier
Returns the Classifier associated with the given Event.
Returns the Classifier associated with the given Event.
- event
The event for which the Classifier should be returned.
- returns
The Classifier for the given Event.
- Attributes
- protected
- Definition Classes
- EventBus → SubchannelClassification
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def compareSubscribers(a: ActorRef, b: ActorRef): Int
- Attributes
- protected
- Definition Classes
- ActorEventBus
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def publish(event: Event, subscriber: Subscriber): Unit
Publishes the given Event to the given Subscriber.
Publishes the given Event to the given Subscriber.
- event
The Event to publish.
- subscriber
The Subscriber to which the Event should be published.
- Attributes
- protected
- Definition Classes
- EventBus → SubchannelClassification
- def publish(event: Event): Unit
- Definition Classes
- SubchannelClassification
- implicit val subclassification: Subclassification[Classifier]
The logic to form sub-class hierarchy
The logic to form sub-class hierarchy
- Attributes
- protected
- Definition Classes
- EventBus → SubchannelClassification
- def subscribe(subscriber: Subscriber, to: Classifier): Boolean
- Definition Classes
- SubchannelClassification
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unsubscribe(subscriber: Subscriber): Unit
- Definition Classes
- SubchannelClassification
- def unsubscribe(subscriber: Subscriber, from: Classifier): Boolean
- Definition Classes
- SubchannelClassification
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)