I'll be there (co-author of http://www.perl.com/pub/2001/01/poe.html )
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 08, 2001 12:57 AM
To: Rocco Caputo
Cc: [EMAIL PROTECTED]
Subject: Re: POE at YAPC and stem
On 08-Jun-2001 Rocco Caputo wrote:
> On Thu, Jun 07, 2001 at 08:12:19PM -0400, [EMAIL PROTECTED] wrote:
>> How many POEers are going to be at YAPC next week? I'd be great to
>> spraf.
> Not me. :(
Drat.
>> - write a stem-compatible protocol/serializer module for IKC
>
> That should be pretty easy, especially if stem is using a standard
> data serializer from the CPAN. POE::Filter::Stem?
I was thinking of message/state passing, so it would have to be a bit
POE::Component::IKC::Channel::Stem or something. Throw a bit of magic
along the lines of IKC subscriptions and IKC::Proxy sessions, throw
your hands in the air, wave 'em like ... uh... anyway:
$kernel->post('stem://StemHub/Cell/Message', $data_here);
- or -
'poe://.....'
I know I've hardcoded poe:// into IKC in more then a few places. However,
adding stem:// would require either your POE::Message idea or that I fix
up IKC::Specification for general consumption.
>> - Get the event loops to cooperate, so that the messages can be routed
>> w/in the same process
>
> If I recall correctly, stem uses Event for its event loop. It should
> be possible for both loops to work together if you use Event with POE
> too. Getting events across the POE/stem paradigm barrier will require
> a big chunk of thought, but it should be doable, at least from Session
> space. Postbacks might help, but I don't know for sure.
Yes, It uses Event. However, Event doesn't work on 5.004 :(
I don't know why events would require so much thought.
$kernel->post('stem:cell', $data_here);
Maybe I don't know enough about stem.
>> - Throw out the POE event loop and move all our code to stem.
>
> What you say?! :)
ALL YOUR EVENT LOOPS ARE BELONG TO US!
-Philip