Beispiel #1
0
bool SessionManager::isInFailedState( std::string addr, SessionType type )
{
    lockSessions();

    SessionEntry* entry = findSessionByAddress( addr, type );
    if ( entry == NULL )
    {
        unlockSessions();
        return false;
    }

    bool ret = entry->isInFailedState();
    unlockSessions();
    return ret;
}