in scala.collection.mutable
class Publisher

mixin abstract `class` Publisher [ A , This <: scala.collection.mutable.Publisher[A,This] ]
  `extends` java.lang.Object
  `with` scala.ScalaObject

  `Publisher[A,This]` objects publish events of type `A` 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. Class `Publisher` is typically used as a mixin. The type variable `This` models self types.

author:
  Matthias Zenger
version:
  1.0, 08/07/2003

Def Summary
| `def` activateSubscription ( sub : scala.collection.mutable.Subscriber[A,This] ) : scala.Unit
`protected` | `def` publish ( event : A ) : scala.Unit
| `def` removeSubscription ( sub : scala.collection.mutable.Subscriber[A,This] ) : scala.Unit
| `def` removeSubscriptions : scala.Unit
| `def` subscribe ( sub : scala.collection.mutable.Subscriber[A,This] ) : scala.Unit
| `def` subscribe ( sub : scala.collection.mutable.Subscriber[A,This] , filter : (A) => scala.Boolean ) : scala.Unit
| `def` suspendSubscription ( sub : scala.collection.mutable.Subscriber[A,This] ) : scala.Unit

Def Detail

`def` activateSubscription ( sub : scala.collection.mutable.Subscriber[A,This] ) : scala.Unit

protected `def` publish ( event : A ) : scala.Unit

`def` removeSubscription ( sub : scala.collection.mutable.Subscriber[A,This] ) : scala.Unit

`def` removeSubscriptions : scala.Unit

`def` subscribe ( sub : scala.collection.mutable.Subscriber[A,This] ) : scala.Unit

`def` subscribe ( sub : scala.collection.mutable.Subscriber[A,This] , filter : (A) => scala.Boolean ) : scala.Unit

`def` suspendSubscription ( sub : scala.collection.mutable.Subscriber[A,This] ) : scala.Unit