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

Method DownloadFile_AddFile

src/ExternalConn.cpp:2645–2653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2643}
2644
2645void ECNotifier::DownloadFile_AddFile(const CPartFile *file)
2646{
2647 for(std::map<CECServerSocket *, ECUpdateMsgSource **>::iterator i = m_msg_source.begin();
2648 i != m_msg_source.end(); ++i) {
2649 ECUpdateMsgSource **notifier_array = i->second;
2650 static_cast<ECPartFileMsgSource *>(notifier_array[EC_PARTFILE])->SetNew(file);
2651 }
2652 NextPacketToSocket();
2653}
2654
2655void ECNotifier::DownloadFile_AddSource(const CPartFile *)
2656{

Callers 1

DownloadCtrlAddFileFunction · 0.80

Calls 3

SetNewMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected