3.1.7.1.2 Close Cursor
This event MUST be generated with the following argument:
iCursor: A reference to the Cursor (section 3.2) ADM element instance that is closed.
Return Value:
None.
The queue manager MUST perform the following actions to process this event:
For each WaitingMessageReadOperation (section 3.1.1.10) ADM element instance, referred to as readOp, in iCursor.OpenQueueDescriptorReference.WaitingMessageReadOperationCollection:
If readOp.CursorReference is the same as the Cursor ADM element instance referenced by iCursor:
Remove the WaitingMessageReadOperation ADM element instance referenced by readOp from iCursor.OpenQueueDescriptorReference.WaitingMessageReadOperationCollection.
Remove the Cursor ADM element instance referenced by iCursor from iCursor.OpenQueueDescriptorReference.CursorCollection.