== 運算子是 OMTimerManager 用來操作其資料堆結構的比較函數。 該運算子會判定 destination 及 Timeout 的現行值是否與指定逾時的那些值相同。
比較會產生下列其中一個值:
Public
int operator == (OMTimeout& tn) {
OMBoolean matchDest = getDestination() ==
tn.getDestination();
OMBoolean matchId = ((getTimeoutId() ==
tn.getTimeoutId()) ||
(getTimeoutId() == OMEventAnyEventId) ||
(OMEventAnyEventId == tn.getTimeoutId()));
return (matchDest && matchId);}
tn
指定逾時的位址