The following picture shows how the broadcast mechanism works. The Property Package holds the IBroadcastSender of Simulator, and simulator holds the IBraodcastReceiver of Property Package; UO is similiar. IBroadcastSender has a method named ReSendMessage(int msgCode), and IBroadcastReceiver has a method named ReceiveMessage(int msgCode). When a compound's name in Property Package changed, Property Package could send out a message by ReSendMessage() of IBroadcastSender of Simulator, then Simulator re-send out this message by ReceiveMessage() of IBroadcastReceiver of other modules.
At the current CAPE-OPEN specifications this mechanism is not possible, but I hope the next version will take this mechanism into consideration.
[img]broadcast.jpg[/img]Statistics: Posted by bcbooo — 03 March 2016, 01:23
]]>