<<< Observer Usage | Index | Observer Sample, cont. >>> |
|
|
ParaWeatherData is the Concrete Subject generating "weather updates".
There are two concrete observers, CurrentConditionBoard and StatisticBoard. Both observers register themselves with the subject.
ObserverBoardInterface is the abstract Observer interface with update operation.
DisplayBoardInterface is the abstract interface with show operation.
<<< Observer Usage | Index | Observer Sample, cont. >>> |