MCPcopy Create free account
hub / github.com/amule-project/amule / GetWaitStartTime

Method GetWaitStartTime

src/UploadClient.cpp:375–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373
374
375uint64 CUpDownClient::GetWaitStartTime() const
376{
377 uint64 dwResult = 0;
378
379 if ( credits ) {
380 dwResult = credits->GetSecureWaitStartTime(GetIP());
381
382 if (dwResult > m_dwUploadTime && IsDownloading()) {
383 // This happens only if two clients with invalid securehash are in the queue - if at all
384 dwResult = m_dwUploadTime - 1;
385 }
386 }
387
388 return dwResult;
389}
390
391
392void CUpDownClient::SetWaitStartTime()

Callers 2

ProcessPacketMethod · 0.80
ProcessExtPacketMethod · 0.80

Calls 1

Tested by

no test coverage detected