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.
The comparison yields one of the following values:
Public
int operator == (OMTimeout& tn) {
OMBoolean matchDest = getDestination() ==
tn.getDestination();
OMBoolean matchId = ((getTimeoutId() ==
tn.getTimeoutId()) ||
(getTimeoutId() == OMEventAnyEventId) ||
(OMEventAnyEventId == tn.getTimeoutId()));
return (matchDest && matchId);}
tn
Specifies the address of the timeout