The == operator is a comparison function used by OMTimerManager to manipulate its heap structure. It determines whether the current values of destination and Timeout are the same as those of the specified timeout.
int operator == (OMTimeout& tn) {
OMBoolean matchDest = getDestination() ==
tn.getDestination();
OMBoolean matchId = ((getTimeoutId() ==
tn.getTimeoutId()) ||
(getTimeoutId() == OMEventAnyEventId) ||
(OMEventAnyEventId == tn.getTimeoutId()));
return (matchDest && matchId);}