« Return to Thread: Listening for resource shutdown?

SV: Listening for resource shutdown?

by Lenni Madsen :: Rate this Message:

Reply to Author | View in Thread

How about sending a notification in the prepareShutdown() from resource B
while resource A is subscribed to resource B ?

That function is called before the actual resource is terminated (before the
function shutdown).

Of course this is the simplified and perhaps not proper way of doing things.

/Lenni

"Cake is not a dual-use food stuff"
-----Oprindelig meddelelse-----
Fra: Jan Torben Heuer [mailto:jan.heuer@...]
Sendt: 7. august 2008 14:34
Til: muse-user@...
Emne: Listening for resource shutdown?

Hi,

I have two resources (BrokeredNotification) A and B.

A creates new resources of type B.

B can by destroyed manually or through its ScheduledTermination Capability
(using muse's SimpleScheduledTermination).

How can A be informed that an instance of B has been destroyed?

Thanks,

Jan
--
                                Institute for Geoinformatics
jan.heuer@... Robert-Koch-Strasse 26-28
+49 251 83-31960 48151 Münster, Germany


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

 « Return to Thread: Listening for resource shutdown?