Hi John,

I had a quick question about the MultiParticipant. Why in the intialize do
you neuter everything except the first participant passed in? Wouldn't you
want the last one to be un-neutered so that only after all the participants
have run will the process proceed?

It is probably something simple I am missing but I figured I would ask to be
sure. Thanks!

-Nick


On Thu, Nov 19, 2009 at 6:56 AM, Gonzalo Suarez
<[email protected]>wrote:

> Hi John,
>
> I'll try both and see what's best for me.
> Many thanks.
>
> Gonzalo.
>
>
>
> On Thu, Nov 19, 2009 at 2:04 PM, John Mettraux <[email protected]>
> wrote:
> > On Thu, Nov 19, 2009 at 7:48 PM, Gonzalo <[email protected]>
> wrote:
> >>
> >> I need ruote (v0.9.21) to do some stuff whenever the engine produces a
> >> particular event.
> >>
> >> For example, I would like to send a XMPP message to a client just when
> >> the engine dispatches a workitem to an ArParticipant participant. What
> >> would be the best way to accomplish this? Listeners?
> >
> > Hello Gonzalo,
> >
> > what about sticking with participants and doing something like this
> > (my bad, a few typos in there) :
> >
> >
> http://github.com/jmettraux/ruote/blob/748145b149705ff975518186069d44270c6aeb8c/test/functional/ft_17_multi_participants.rb
> >
> > The first participant is in charge, the other merely notify...
> >
> >
> > I hope this will help... Else a listener intercepting "applies" on a
> > given participant name should be OK.
> >
> >  http://openwferu.rubyforge.org/expressions.html#exp_listen
> >
> > The first option applies to all process definitions, while the second
> > is limited to one process definition.
> >
> >
> > Best regards,
> >
> > --
> > John Mettraux   -   http://jmettraux.wordpress.com
> >
> > --
> > you received this message because you are subscribed to the "ruote users"
> group.
> > to post : send email to [email protected]
> > to unsubscribe : send email to
> [email protected]<openwferu-users%[email protected]>
> > more options : http://groups.google.com/group/openwferu-users?hl=en
>
> --
> you received this message because you are subscribed to the "ruote users"
> group.
> to post : send email to [email protected]
> to unsubscribe : send email to
> [email protected]<openwferu-users%[email protected]>
> more options : http://groups.google.com/group/openwferu-users?hl=en
>

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to