eclipselabs/passerelle

MessageInputContext no longer maintains port indices

Closed this issue · 3 comments

Port indices for actors with dynamically configured multiple input/output ports 
are no longer maintained since a while.

But they are still used in 4 Soleil actors :
- SynchronizingScriptConverter
- DynamicPortScriptConverter
- MultipleOutputsSynchronizer
- Expression

The actors should be adapted to a new indexing approach.

Original issue reported on code.google.com by erwin...@gmail.com on 3 Aug 2012 at 7:20

A method getPortIndex(MessageInputContext) will be added on the base class 
fr...DynamicPortsActor, and used to derive the port index wherever needed.

The same method will also be added on Passerelle's own DynamicPortsActor on the 
trunk. So the Soleil-specific one can be removed once Soleil upgrades to 
Passerelle 8.2.

Original comment by erwin...@gmail.com on 5 Aug 2012 at 12:43

  • Changed state: Started
Implemented and tested with sample model.

Vincent, can you test it on your side and then put the issue to Verified?

tx
erwin

Original comment by erwin...@gmail.com on 5 Aug 2012 at 12:49

Attachments:

Original comment by erwin...@gmail.com on 5 Aug 2012 at 12:49

  • Changed state: Fixed