The Observer Pattern
An Introduction with Examples in Java |
Prof. David Bernstein
|
Computer Science Department |
bernstdh@jmu.edu |
TickReader
must have an associated
TickWriter
and TickerTape
TickReader
much less re-usable
TickReader
plays a more passive roleTickReader
need only have a list of
(zero or more) TickListener
objects that it will
informTickListener
interface