Viewing ports in the browser Viewing ports in the browser Ports are displayed in the browser under the appropriate class. Connecting ports To exchange messages using ports, you must specify links between their objects. You can use one of these methods: Љ Draw a link to the ports as described in Links and associations . Љ Right-click each object individually and select Make an Object . This allows you to link the two new objects via their ports without explicitly creating a link between the ports. You can specify a link between a part (or a port of a part) to a port belonging to the enclosing class.
However, you cannot specify associations via ports nor specify a link between classes, even if the ends are connected to ports. Using rapid ports Rational Rhapsody supports rapid ports : you can simply draw ports, connect them via links, create a statechart, and the ports will exchange events without any additional information. In addition, if a port is not connected to any of the internal parts for a class, the code generator assumes it is a behavioral port and messages will be relayed to or from the class. In rapid mode, the classes must be reactive because Rational Rhapsody assumes that events are exchanged. Rational Rhapsody 97