Packages

c

akka.event.japi

SubchannelEventBus

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

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

Source
EventBusJavaAPI.scala
Linear Supertypes
EventBus[E, S, C], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubchannelEventBus
  2. EventBus
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SubchannelEventBus()

Abstract Value Members

  1. abstract def subclassification: Subclassification[C]

    The logic to form sub-class hierarchy

Concrete Value Members

  1. def publish(event: E): Unit

    Publishes the specified Event to this bus

    Publishes the specified Event to this bus

    Definition Classes
    SubchannelEventBusEventBus
  2. def subscribe(subscriber: S, to: C): 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
    SubchannelEventBusEventBus
  3. def unsubscribe(subscriber: S): 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
    SubchannelEventBusEventBus
  4. def unsubscribe(subscriber: S, from: C): 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
    SubchannelEventBusEventBus