3.1.7.6 Stream Element Removed Event
This event MUST be generated with the following arguments:
iQueue: A reference to an OutgoingQueue [MS-MQDMPR] section 3.1.1.3) ADM element instance.
Return Value:
None.
The following steps MUST be performed to process this event:
The protocol MUST search the OutgoingQueue for any <SRMPMessage> elements where SRMPMessage.TransactionSequenceNumber is nonzero and either SRMPMessage.AwaitingStreamReceipt is TRUE or SRMPMessage.AwaitingFinalStreamReceipt is TRUE (that is, there are stream receipts outstanding).
If there are no such <SRMPMessage> elements present in the OutgoingQueue, the protocol MUST locate the <Stream> element in SRMPState.StreamCollection, with a Stream.OutgoingQueueReference attribute equal to iQueue and delete that Stream element.