![]() |
SendData() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Public Function |
Declared in: BlockedBuffer.h |
Declarationvoid SendData();
DescriptionThe event was called
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
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. |