Class KomodiaDNS::CDNSManager::
WasTimedout()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: UninitializeNext page: Custom Code in Header Before Includes    Show member index
Private Function Declared in:
DNSManager.h

'Declaration' icon -- Shortcut to top of page. Declaration

BOOL WasTimedout(
    unsigned short usID);

'Description' icon -- Shortcut to top of page. Description

Did we timeout

'Function Body' icon -- Shortcut to top of page. Function Body

try
{
    //Lock the data
    CCriticalAutoRelease aRelease(m_pCSection);

    //Try to find it
    IDMap::iterator aIterator;
    aIterator=m_aData.find(usID);

    //Do we have it
    if (aIterator!=m_aData.end())
        if (aIterator->second.bTimedout)
            return TRUE;
        else
        {
            //Set it to be notified
            aIterator->second.bNotified=TRUE;

            //Exit
            return FALSE;
        }
    else
        return FALSE;
}
ERROR_HANDLER_RETURN("WasTimedout",TRUE)

'See Also' icon -- Shortcut to top of page. See Also

Class Overview Class Overview  |  Public base class CErrorHandler  |  Hierarchy Chart Hierarchy Chart


Get Surveyor!This web site was generated using Surveyor V4.50.811.1.  Click here for more information. Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003.