On 21 Mrz., 16:17, Justin Bozonier <[email protected]> wrote:
> For the join, why isn't the output from both components just going to
> the same input on the next component rather than using a special class
> to receive each output on a separate input. Is that an FBP convention?

There is only a single input-pin on the receiving FU. It needs to
receive packets from both output-pins at the same time.
How would accomplish that with

a.Result += c.Process;
b.Result += c.Process;

This won´t work. c.Process has only 1 parameter. And it´s of some
type != the event types of a.Result and b.Result.

I could do the following, though:

a.Result += c.Process1;
b.Result += c.Process2;

But that would put the burden of synchronizing the inputs on the
receiver.

A special join part is necessary to combine packets from multiple
wires. Also you want to be able to express different semantics of a
join.

-Ralf

-- 
You received this message because you are subscribed to the Google Groups 
"Seattle area Alt.Net" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/altnetseattle?hl=en.

Reply via email to