Class KomodiaDNS::CDNSSocket::
~CDNSSocket()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: CDNSSocketNext page: DeleteProc    Show member index
Public Destructor Declared in:
DNSSocket.h

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

virtual ~CDNSSocket();

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

try
{
    //Deletet the data
    std::for_each(m_aPendingData.begin(),
                  m_aPendingData.end(),
                  DeleteProc);

    //Clear it
    m_aPendingData.clear();

    //Delete the sockets
    //Do we have these sockets ?
    if (m_pTCP)
        m_pTCP->DeleteSocketFromThread();

    if (m_pUDP)
        m_pUDP->DeleteSocketFromThread();

    if (m_bOwners)
        //Delete the thread manager
        delete m_pThreadManager;

    //Delete the CS
    delete m_pCSection;
    delete m_pCSectionDeque;
}
ERROR_HANDLER("~CDNSSocket")

'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.