Canceling all events to a destination

It calls getMessageList to get a list of all events in the event queue for the thread.

About this task

For each event in the message list:

Procedure

  1. cancelEvent calls getDestination to determine the destination OMReactive instance.
  2. If the destination of the event matches the destination parameter passed to cancelEvent, the method calls cancelEvent to cancel the event.
  3. cancelEvent calls setlId to set the event ID to Constants.

Feedback