//Implementing Subject Interface methods
	public void attachHealthObserver(HealthObserver ho)
	{
		healthObservers.Add(ho);
	}
	public void detachHealthObserver(HealthObserver ho)
	{
		healthObservers.Remove(ho);
	}
Exemplo n.º 3
0
 public void RegisterHealthObserver(HealthObserver o)
 {
     _healthObservers.Add(o);
 }