Hi everybody,
I'm totally new to this group and RIFE. I found some information about
RIFE continuations and I'm trying to know more about them to be able
to apply them to a standalone (and totally unrelated to a web
application) piece of software.
My understanding is that continuations in RIFE can be used by non-web
applications and so far everything I've read seems to indicate this is
what I need, but I'm having a hard time finding some "getting started"
kind of documentation.
To give you a 10000ft view of the problem I'm trying to solve, I'm
trying to refactor an API so that instead of using the listener/
observer approach it's all sequential and using return types and/or
exceptions.
Instead of ....
myWorker.do(action, myListener);
...and....
class MyListener implements Listener {
public void actionFinished(Result r)
{
//continue execution here
}
}
...I want to do this...
Result r = myWorker.do(action);
//continue execution here
I hope this makes sense.
Could anybody point me to the right tutorial / manual / testcase to
get myself started? Remember this is totally non web related; there
isn't even a GUI involved. I'm just trying to refactor an asynchronous
API into a synchronous one but without wasting resources by making my
Threads sleep/wait.
thanks,
Horaci
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---