Oooh, yeah, that's intended. Currently continuations are only
supported in the 'entrance' method. I've been planning for a long time
to support any method and also method call stacks, but currently this
isn't possible yet.
On 09 Jul 2008, at 14:23, claas wrote:
>
>
> 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.
>
>
> >
--
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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---