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

Method SharedFile_RemoveFile

src/ExternalConn.cpp:2670–2678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2668}
2669
2670void ECNotifier::SharedFile_RemoveFile(const CKnownFile *file)
2671{
2672 for(std::map<CECServerSocket *, ECUpdateMsgSource **>::iterator i = m_msg_source.begin();
2673 i != m_msg_source.end(); ++i) {
2674 ECUpdateMsgSource **notifier_array = i->second;
2675 static_cast<ECKnownFileMsgSource *>(notifier_array[EC_KNOWN])->SetRemoved(file);
2676 }
2677 NextPacketToSocket();
2678}
2679
2680void ECNotifier::SharedFile_RemoveAllFiles()
2681{

Callers

nothing calls this directly

Calls 3

SetRemovedMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected