|
||||||||
Observer PatternDefine a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically. Let objects propagate information without depending on each other much. Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
Purpose:Mainly used to implement distributed event handling systems.
3 Main Ideas:Registration
Notification
Update
|
||||||||
© Lynne Grewe |