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

Method ResetLocalServerRequests

src/DownloadQueue.cpp:1024–1034  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1022
1023
1024void CDownloadQueue::ResetLocalServerRequests()
1025{
1026 wxMutexLocker lock( m_mutex );
1027
1028 m_dwNextTCPSrcReq = 0;
1029 m_localServerReqQueue.clear();
1030
1031 for ( FileQueue::size_type i = 0; i < m_filelist.size(); i++ ) {
1032 m_filelist[i]->SetLocalSrcRequestQueued(false);
1033 }
1034}
1035
1036
1037void CDownloadQueue::RemoveLocalServerRequest( CPartFile* file )

Callers 1

ProcessPacketMethod · 0.80

Calls 3

clearMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected