0

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

2
Contributors
3
Replies
31
Views
4 Years
Discussion Span
Last Post by anisha.silva
0

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.

Most of the threads that you posted you never mention or even bother to mention does it work?

I think beside me there's few other members who have help you in the past but you never reply back to let the member know whether the code they provided works or not.

How do you expect anyone to help you if you don't even say Thanks the members who did or even Click Solve to let the member your issue is solved?

Edited by LastMitch: grammer

0

I notice you reply the old threads. Don't you think it's a bit late?

Thanks for the downvote. That show me that you are not a very nice person.

Good luck with the JSP code.

-1

no point arguing in a question forum. it was not me who added the down vote

thanks

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.