Re: Move from one handler to another (manually)

2009-05-01 Thread Alejandro Imass
See "call" also.

If you are using Object methods, just call it to shutdown. Shutting
stuff down, IMHO seems to a bitch in general, so you may have to debug
verbosely to find out who is keeping you from sutting down.


On Sat, May 2, 2009 at 10:49 AM, Philip Gwyn  wrote:
>
> On 01-May-2009 howard chen wrote:
>> Hello,
>>
>> In POE, how to move from one handler (manually) to another handler?
>>
>> E.g.
>>
>> http://search.cpan.org/dist/POE-Component-Client-NNTP/lib/POE/Component/Client
>> /NNTP.pm
>>
>> Inside the  "nntp_211" method, I want to force jump to the "_shutdown"
>> method?
>
> $poe_kernel->post() or $poe_kernel->yield()
>
> -Philip
>
>


RE: Move from one handler to another (manually)

2009-05-01 Thread Philip Gwyn

On 01-May-2009 howard chen wrote:
> Hello,
> 
> In POE, how to move from one handler (manually) to another handler?
> 
> E.g.
> 
> http://search.cpan.org/dist/POE-Component-Client-NNTP/lib/POE/Component/Client
> /NNTP.pm
> 
> Inside the  "nntp_211" method, I want to force jump to the "_shutdown"
> method?

$poe_kernel->post() or $poe_kernel->yield()

-Philip