The following sequence diagram shows the generation and queuing of an event.
The sequence to generate and queue an event is as follows: