Hi,

I know Rocco has been pestering us to look at POE::Stage
for a while, so I finally did that. I am a bit confused, so
I'm going to explain how I understand it works, and you
tell me if I got it right.

$self->{req} is the request currently being handled. You
store all the intervening stages so that they dissappear if
you cancel the request mid-way. Is that right?

Is $self->{rsp} strictly there for the recall method?

Is this more or less like $kernel->call("stage1",
"hello_world"):

   $stage1->hello_world();

And lastly, if I do this:

   $stage1 = undef;

To which extent are all the pending requests of $stage1
cancelled? Is everything immediate? Will it close any
associate sockets right away? What happens if I still have
request object that involves $stage1? Do I need to define
DESTROY in my stages to clean up after them?

Thanks

-Mathieu


                
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

Reply via email to