3.1.6.7 MessageIDHistory Cleanup Timer Event
When the MessageIDHistory Cleanup Timer (section 3.1.2.8) expires, the protocol MUST apply the following logic, where CURRENT_TIME represents the current system time. This value is the number of seconds elapsed since midnight (00:00:00), January 1, 1970 (UTC) according to the system clock.
For each MessageIDHistoryEntry ADM element instance rMessageIDHistoryEntry in the MessageIDHistoryTable ADM element, if rMessageIDHistoryEntry.TimeStamp is less than CURRENT_TIME minus the MessageIDHistory Cleanup Timer duration, the MessageIDHistoryEntry ADM element instance referenced by rMessageIDHistoryEntry MUST be deleted from the MessageIDHistoryTable ADM element.
If the MessageIDHistoryTable ADM element is not empty, the MessageIDHistory Cleanup Timer MUST be restarted.