|
Lafros MaCS 1.2r1
|
|
trait
Subject
extends AnyRef| Method Summary | |
def
|
publish
: Unit
invoke the notify method implemented by registered observers, supplying this
subject as the argument.
|
def
|
subscribe
(obs : ObserverType) : Unit
register the specified observer.
|
| 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 |
def
subscribe(obs : ObserverType) : Unit
def
publish : Unit
|
Lafros MaCS 1.2r1
|
|