scala.collection.mutable
trait Subscriber

[source: `scala/collection/mutable/Subscriber.scala`]

`` `trait` Subscriber[-A, -B]
  `extends` AnyRef

  `Subscriber[A, B]` objects may subscribe to events of type `A` published by an object of type `B`. `B` is typically a subtype of `Publisher`.

Author
  Matthias Zenger
Version
  1.0, 08/07/2003

Direct Known Subclasses:
  History

Method Summary
`abstract def` | notify (pub : B, event : A) : Unit

Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Method Details

`abstract` `def` notify(pub : B, event : A) : Unit