Académique Documents
Professionnel Documents
Culture Documents
Lesson 5
Types of Event
•A signal.
•A call event.
•A time-out Event
Signal:
•A signal is an asynchronous occurrence.
•It is defined in UML by an object that is labeled as
a «signal».
•The object in the diagram serves as a declaration of
the event’s existence.
•A signal may have parameters that are passed to the
signal’s receiver.
Call Event:
• Call event follows the model of a procedure call in a
programming language.
Time-out Event
•A time-out event causes the machine to leave a state
after a certain amount of time.
•The label tm(time-value)on the edge gives the amount
of time after which the transition occurs.
•It is generally implemented with an external timer.
A sequence diagram