Publisher review:Multicasting on objects script uses the 'Multicast' class to multiplex messages/attribute requests to objects which share the same interface. This script uses the 'Multicast' class to multiplex messages/attribute requests to objects which share the same interface.&le requests to obje;A 'Multicast' object will expose the same interface as the delegation targets (Multicasting won't work for the dictionary interface, since that is used by the 'Multicast' class itself.) Attributes of individual delegates can be accessed by the alias name used to register them for delegation: multicast["test"] = aClass() print multicast.aClassAttribute["test"]
Message chains are possible: print multicast.aClassAttribute.aMethod(). This will call 'aMethod' on 'aClassAttribute' from all delegation targets.
Multicasting on objects 1.1 is a Python script for Programming Methods and Algorithms scripts design by Eduard Hiti.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
uses the 'Multicast' class to multiplex messages/attribute requests to objects which share the same interface.
Operating system:Windows / Linux / Mac OS / BSD / Solaris