Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Mastering UML with Rational Rose 2002.pdf
Скачиваний:
137
Добавлен:
02.05.2014
Размер:
9.68 Mб
Скачать

Chapter 5: Object Interaction

Setting Message Frequency

Message frequency lets you mark a message to be sent at regular intervals. Say, for example, you have a message that should run once every 30 seconds. You can set that message to be periodic. The frequency options are available in the Detail tab of the message specification window, as shown in Figure 5.18.

Figure 5.18: Setting message frequency

There are two frequency options:

Periodic This option suggests that the message is sent on a regular, periodic basis.

Aperiodic This option suggests that the message is not sent on a regular basis. It may be sent only once or at irregular points in time.

Note Message frequency will not change the appearance of the Sequence or Collaboration diagram. To set the message frequency:

1.

Double−click the message in the Sequence or Collaboration diagram.

2.

In the message specification window, select the Detail tab.

3.

Select the desired frequency option from the radio buttons in the lower part of the window.

188