Creating protocols in capsule-based UML models

You can define the set of messages to exchange between capsules, and create ports through which they communicate.

About this task

To create a protocol:

Procedure

  1. Right-click a capsule; then click Add UML > Port.
  2. Optional. You can also create a Protocol independent of a port on the class diagram through the Protocol palette tab, or the Add UML menu on the diagram or in the Project Explorer view.
  3. Click Create Protocol. The Protocol Name view opens.
  4. Type a name for the protocol and click OK. The new protocol is displayed in the Project Explorer view.

Feedback