Cool, that should work too :-)
On 20 May 2007, at 00:35, Eddy Young wrote:
On 19 May 2007, at 20:57, Geert Bevin wrote:
Hmm, makes sense.
One thing that could work is to obtain the active continuation
context : ContinuationContext.getActiveContext()
Then you can call getContinuable() (which is the element,
actually) and see if it corresponds to the current one.
Thanks, Geert.
I found it easier to check if there is a call stack on the active
context, like this:
if (ContinuationContext.getActiveContext().getActiveCallState() !=
null) {
answer(); // go back to caller
} else {
// display welcome
}
--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users