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

Method IsDownloading

src/UploadQueue.cpp:355–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353
354
355bool CUploadQueue::IsDownloading(const CUpDownClient* client) const
356{
357 for (CClientRefList::const_iterator it = m_uploadinglist.begin(); it != m_uploadinglist.end(); ++it) {
358 if (it->GetClient() == client) {
359 return true;
360 }
361 }
362 return false;
363}
364
365
366CUpDownClient* CUploadQueue::GetWaitingClientByIP_UDP(uint32 dwIP, uint16 nUDPPort, bool bIgnorePortOnUniqueIP, bool* pbMultipleIPs)

Callers 4

AddReqBlockMethod · 0.45
ConnectionEstablishedMethod · 0.45
AddClientToQueueMethod · 0.45

Calls 3

beginMethod · 0.45
endMethod · 0.45
GetClientMethod · 0.45

Tested by

no test coverage detected