Observer#

module wntr.network.controls

class Observer[source]#

Bases: object

A base class for observers in the observer design pattern.


abstract update(subject)[source]#

This method is called when the subject being observed calls notify.

Parameters:

subject (Subject) – The subject that called notify.