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
cancelEvent
calls
getDestination
to determine the destination
OMReactive
instance.
If the destination of the event matches the destination parameter passed to
cancelEvent
, the method calls
cancelEvent
to cancel the event.
cancelEvent
calls
setlId
to set the event ID to
Constants
.
Feedback