Class CBlockedBuffer::
SendData()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: operator =Next page: Custom Code in Header Before Includes    Show member index
Public Function Declared in:
BlockedBuffer.h

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

void SendData();

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

The event was called

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

try
{
    //Lock
    CCriticalAutoRelease aRelease(m_pCSection);

    //Do we have data ?
    if (!m_aData.empty())
        //Try to send it
        if (m_pFather->SendBlockedBuffer(*m_aData.begin()))
            //We can remove it
            m_aData.pop_front();
        else if (m_iMaxRetries &&
                 m_aData.begin()->GetNumberOfCalls()==m_iMaxRetries)
        {
            //We can't send it, remove it and indicate an error
            m_aData.pop_front();

            //Report it
            ReportError("SendData","Failed sending data for more then 5 times!");
        }
}
ERROR_HANDLER("SendData")

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

Class Overview Class Overview  |  Public base class CSpoofBase  |  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.