Hi again!

I played around with the continuations much more and simplified my testcases
during testing.

It seems to me that I'm not able to pause() the continuation in an other
method than the "execute" entry method. A pause() call in a sub-method is
leading to a UnsupportedOperationException. The following sample code shows
my problem.

--- code ---
public class SimpleSubTest extends ContinuableSupport implements
ContinuableObject
{
        public Object clone() ...
        
        public void execute() 
        {
                // works
                pause();
                sub();
        }

        public void sub()
        {
                // don't works, throws UnsupportedOperationException
                pause();
        }       
}
--- code ---

Is this the desired behaviour? 
Or did I have another problem?

Thanks in advance,
Claas
-- 
View this message in context: 
http://www.nabble.com/Continuable-callstack-outside-a-ContinuableObject--tp18335556s9330p18359768.html
Sent from the RIFE - users mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rife-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to