IBM Support

How to use multicasting with SysML1.2 standard ports in Rational Rhapsody

Technote (FAQ)


Question

How do you use multicasting with SysML1.2 standard ports in IBM Rational Rhapsody?

Cause

This is not documented elsewhere.

Answer

Multicasting works in a similar way for SysML1.2 standard ports as it does with UML standard ports. Rational Rhapsody still uses the MULTICAST_GEN macro. You have two options:

  1. Add a send action and Rational Rhapsody will automatically generate the correct macro - MULTICAST_GEN

    or,
  2. Add the MULTICAST_GEN macro manually to the statechart. For Rational Rhapsody, in C this should replaced with RiC_MULTICAST_GEN_PORT

An example project is attached.

Disclaimer

All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.


StandardPortsSysML1.2.zipStandardPortsSysML1.2.zip

Document information

More support for: Rational Rhapsody
General Information

Software version: 8.1.2.1

Operating system(s): Linux, Windows

Reference #: 1959735

Modified date: 12 June 2015