For Programmers: Free Programming Magazines  


Home > Archive > PERL POE > November 2007 > PoCo mandatory shutdown events?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author PoCo mandatory shutdown events?
Alejandro Imass

2007-11-18, 7:34 pm

Hi,

While creating my first POE component, which is of course based on other
components and modules, I have noticed that several of the ones I'm
using, do not provide a graceful shutdown method.

IMHO at least for components, this should be mandatory.

Anyway, I have posted my learnings here:

http://poe.perl.org/?POE_Cookbook/C...onents_an_Intro

To all the POE gurus here, please read the last paragraph in the posted
article before some-body's house blows up because of me.

Best,
Alejandro Imass
Corcaribe TecnologÃ_a C.A.
Guatire, Venezuela

George Nistorică

2007-11-19, 8:28 am

Hi,

Alejandro Imass wrote:
> Hi,
>
> While creating my first POE component, which is of course based on other
> components and modules, I have noticed that several of the ones I'm
> using, do not provide a graceful shutdown method.
>


I'd like to point out that some of the POE Client Components just do one
thing, send an event back then they go away, thus not needing a
'shutdown' event :)
I guess they could be easily identified if they'd use a constructor name
other than 'new' or 'spawn'.

[ ... ]



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com