Re: Handling Dynamic Children (Workers) without restarting the poe ikc server

Nick Perez <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>
If you read the docs for IKC you will see that it describes the publish
subscribe mechanism implemented for remote/local session subscription.
So basically, client would connect, subscribe to the server session,
publish its worker session, then post() an event to the server that
would then tell the server to subscribe to your published session. Then
the server can access it like a local session. I am guessing you need
to invert your thinking. The workers do the connecting. The server just
listens. Then when a test needs to be run, the server will then post()
an event to which ever worker it choses.

On Tue, 21 Apr 2009 12:39:57 -0700
Josh803316 <[email protected]> wrote:

> If I have a POE control server that manages multiple workers using
> IKC to communicate, how would I handle adding another worker to the
> group dynamically.  I'm trying to create a plug and play type
> environment where I could potentially add a new worker module to the
> group of managed workers without restarting the server.


-- 

Nicholas Perez
XMPP/Email: [email protected]
http://search.cpan.org/~nperez/
http://github.com/nperez
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.