Re: termination question
Ritu Sabharwal <[email protected]> Wed, 22 Nov 2006 11:37:09 +0530
| Newsgroups | gmane.comp.java.smartfrog.user |
|---|---|
| Organization | HP |
| Message-ID | <[email protected]> |
Hi Andreas,
In case of Compound, if any child terminates it notifies the parent
which in turn terminates all other children and then itself. So in your
case, SF will not wait for A to finish its task, it will terminate it
immediately as soon as B terminates.
Thanks & Regards,
Ritu.
Andreas Unterkircher wrote:
>Hello,
>
>I have a question concerning termination. Suppose I have a compound
>containing 2 components:
>
>Compound {
> A;
> B; }
>
>A extends EventCompoundImpl. B terminates and in its sfTerminate
>method it sends an event to A which causes A to do some task that
>take some time. If B terminates, what happens to A ? Would SF wait
>until A finishes the task triggered by B's message ? Or would it just
>terminate A ?
>
>Thanks,
>Andreas
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Smartfrog-support mailing list
>Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>https://lists.sourceforge.net/lists/listinfo/smartfrog-support
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV