« Return to Thread: How does a notification get triggered?

RE: How does a notification get triggered?

by Chris.Twiner :: Rate this Message:

Reply to Author | View in Thread

Hi Matthew,

You have to call publish on the NotificationProducer, the WSN example code in the distribution (and the docs) explain how to do this.  You get the correct producing resource, then get the producer capability then call publish on a NotificationMessage.

Actually there is even a nice online tutorial by Dan on ibm ... http://www.ibm.com/developerworks/library/ac-musewsn1.html and http://www.ibm.com/developerworks/library/ac-musewsn2.html.  They provide a great overview and are well worth reading.

cheers,
Chris

-----Original Message-----
From: msw1234567890 [mailto:matthew.weaver@...]
Sent: Wednesday, September 10, 2008 11:25 PM
To: muse-user@...
Subject: How does a notification get triggered?


Please bare with me as I am still attempting to get a better grasp on how Muse works.  As I understand, a notificationproducer capability notifies existing subscriptionManager capabilities, which in turn send notification messages to Notification consumers (which maybe outside of muse).  My question is, how does a notificationproducer get triggered or trigger itself to send that notification to the subscriptionmanagers?

Thanks,

msw
--
View this message in context: http://www.nabble.com/How-does-a-notification-get-triggered--tp19423428p19423428.html
Sent from the Muse User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@...
For additional commands, e-mail: muse-user-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@...
For additional commands, e-mail: muse-user-help@...

 « Return to Thread: How does a notification get triggered?