HI
Part 1: I have 4 classes Handler, ResultE, QueryE and the HealthMonitor. The Handler, ResultE, QueryE classes have to send a message every 1 min (for example, the time is defined in each class) to the HealthMonitor.
So i implemented the Observer patter. The Handler, ResultE, QueryE as Subjects and the HealthMonitor as the Observer.
part 2: as in the example every 1 min the Handler, ResultE and the QueryE has to notify the status(the status of the current instance) to the HealthMonitor. if there is not notification from the handler the healthMonitor calls the Proxy and initiates the other instancse of the handler.
how do i do part 2? do i have to use the observer pattern there also
appreciate a reply
thanks