trait
Publisher[Evt] extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
activateSubscription(sub: Sub): Unit
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
def
equals(obj: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
publish(event: Evt): Unit
-
def
removeSubscription(sub: Sub): Unit
-
def
removeSubscriptions(): Unit
-
val
self: Pub
-
def
subscribe(sub: Sub, filter: Filter): Unit
-
def
subscribe(sub: Sub): Unit
-
def
suspendSubscription(sub: Sub): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Publisher[A,This]
objects publish events of typeA
to all registered subscribers. When subscribing, a subscriber may specify a filter which can be used to constrain the number of events sent to the subscriber. Subscribers may suspend their subscription, or reactivate a suspended subscription. ClassPublisher
is typically used as a mixin. The abstract typePub
models the type of the publisher itself.type of the published event.
2.8
1