|
reSIProcate/DialogUsageManager
9694
|

Public Member Functions | |
| RemoveIfExpired () | |
| bool | operator() (const ContactInstanceRecord &rec) |
| bool | expired (const ContactInstanceRecord &rec) |
Protected Attributes | |
| UInt64 | now |
Definition at line 211 of file InMemoryRegistrationDatabase.cxx.
| RemoveIfExpired::RemoveIfExpired | ( | ) | [inline] |
Definition at line 216 of file InMemoryRegistrationDatabase.cxx.
References resip::Timer::getTimeSecs().
{
now = Timer::getTimeSecs();
}

| bool RemoveIfExpired::expired | ( | const ContactInstanceRecord & | rec | ) | [inline] |
Definition at line 224 of file InMemoryRegistrationDatabase.cxx.
References DebugLog, resip::ContactInstanceRecord::mContact, and resip::ContactInstanceRecord::mRegExpires.
Referenced by expired().
{
if(rec.mRegExpires <= now)
{
DebugLog(<< "ContactInstanceRecord expired: " << rec.mContact);
return true;
}
return false;
}
| bool RemoveIfExpired::operator() | ( | const ContactInstanceRecord & | rec | ) | [inline] |
Definition at line 220 of file InMemoryRegistrationDatabase.cxx.
References expired().
{
return expired(rec);
}

UInt64 RemoveIfExpired::now [protected] |
Definition at line 214 of file InMemoryRegistrationDatabase.cxx.
1.7.5.1