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

Method DownloadFile_SetDirty

src/ExternalConn.cpp:2617–2628  ·  view source on GitHub ↗

Interface to notification macros

Source from the content-addressed store, hash-verified

2615// Interface to notification macros
2616//
2617void ECNotifier::DownloadFile_SetDirty(const CPartFile *file)
2618{
2619 for(std::map<CECServerSocket *, ECUpdateMsgSource **>::iterator i = m_msg_source.begin();
2620 i != m_msg_source.end(); ++i) {
2621 CECServerSocket *sock = i->first;
2622 if ( sock->HaveNotificationSupport() ) {
2623 ECUpdateMsgSource **notifier_array = i->second;
2624 static_cast<ECPartFileMsgSource *>(notifier_array[EC_PARTFILE])->SetDirty(file);
2625 }
2626 }
2627 NextPacketToSocket();
2628}
2629
2630void ECNotifier::DownloadFile_RemoveFile(const CPartFile *file)
2631{

Callers 1

DownloadCtrlUpdateItemFunction · 0.80

Calls 4

SetDirtyMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected