Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 14 results for
healthmonitor
- Page 1
observer pattern impement
Programming
Web Development
11 Years Ago
by anisha.silva
… I have 4 classes Handler, ResultE, QueryE and the
HealthMonitor
. The Handler, ResultE, QueryE classes have to send a…, 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…
Re: observer pattern impement
Programming
Web Development
11 Years Ago
by LastMitch
… 1: I have 4 classes Handler, ResultE, QueryE and the
HealthMonitor
. The Handler, ResultE, QueryE classes have to send a message… example, the time is defined in each class) to the
HealthMonitor
. Most of the threads that you posted you never mention…
update scenario
Programming
Software Development
11 Years Ago
by anisha.silva
… is below. I have a class handler and a class
Healthmonitor
. every 10 seconds i have to send a msg to…
HealthMonitor
to update a variable. in one point if it didnt …send a msg in a multiple of 10 seconds
HealthMonitor
DO SOMETHING ELSE How do i implement this. can someone…
Problem in my code...possible memory leak...?
Programming
Software Development
13 Years Ago
by themadhatterxxx
… { status = myPubSubSubscribe.Connect(PSPubSub::ReceiveEnum::PSRT_BLOCKING, "
Healthmonitor
", 256); if (myPubSubSubscribe.IsConnected() == PS_OK) {… statusPublish = myPubSubPublish.Connect(PSPubSub::ReceiveEnum::PSRT_BLOCKING, "
Healthmonitor
", 256); if (statusPublish == PS_ENGINE_UNAVAIL) { printf…
Re: update scenario
Programming
Software Development
11 Years Ago
by anisha.silva
hi tinstaafl i don't understand thisis the handler.class and the so as for my scenario the event sender is the Handler.class and the event receiver is the
HealthMonitor
.class i cant understand how to implement it, ? when do i call the event receiver?
fail recovery class
Programming
Web Development
11 Years Ago
by anisha.silva
… second the handler has to send a msg to the
healthMonitor
saying that the handler is alive. if the handler didn…
Re: Health monitoring server up or down and logging logs to Database.
Programming
Web Development
14 Years Ago
by 9820Lakeforest
…” (either down or up). a. Create a few tables in
HealthMonitor
DB: i. HST_HEALTHSTATUS Fields: HST_ID, smallint, PK, identity(1,1…
Re: observer pattern impement
Programming
Web Development
11 Years Ago
by LastMitch
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.
Re: observer pattern impement
Programming
Web Development
11 Years Ago
by anisha.silva
no point arguing in a question forum. it was not me who added the down vote thanks
Re: update scenario
Programming
Software Development
11 Years Ago
by tinstaafl
You start a timer routine, that will fire the class event every 10 seconds, your code can interrupt this if needed, by turning the timer off then on. Your class may need a method to allow this, perhaps `PerformEvent()`. Then this routine can call it with something like this, `MyClass.PerformEvent();` Your handler, will then keep track of the time…
Re: update scenario
Programming
Software Development
11 Years Ago
by anisha.silva
hey tinstaafl could you explain it a little bit more, i dont understand it properly appreciate it thanks
Re: update scenario
Programming
Software Development
11 Years Ago
by tinstaafl
Here's some links on Events, from implementing to rasing and handling: [How to: Implement Events in Your Class](http://msdn.microsoft.com/en-us/library/vstudio/5z57dxz2%28v=vs.100%29.aspx) [Event Design](http://msdn.microsoft.com/en-us/library/vstudio/ms229011%28v=vs.100%29.aspx) [Handling and Raising Events](http://msdn.microsoft.com/en-us/library…
Re: update scenario
Programming
Software Development
11 Years Ago
by tinstaafl
In this article,[How to: Raise and Consume Events](http://msdn.microsoft.com/en-us/library/vstudio/9aackb16%28v=vs.100%29.aspx), is a full sample that shows you everything you need to know about handling events. Basically, in your sender is an event method to call the handler. You create code to fire the event, then in the handler you write …
Re: fail recovery class
Programming
Web Development
11 Years Ago
by LastMitch
**@anisha.silva** Here is a link regarding about (there's an example that you can run): http://msdn.microsoft.com/en-us/library/bb398933%28v=vs.100%29.aspx
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC