Open main menu

CDOT Wiki β

Changes

Observer

15 bytes added, 15:44, 22 March 2007
Structure
== Structure ==
Subject: Knows its observers and provides an interface for attaching and detaching observers
<br>
Observer: Defines an updating interface for objects that should be notified
<br>
ConcreteSubject: Stores states of ConcreteObservers objects. Sends a notification when a change has occurred
<br>
ConcreteObserver: Maintains a reference to the ConcreteSubjects object. Synchronizes itself with the ConcreteSubject's state.
1
edit