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

Method FindClientByECID

src/ClientList.cpp:441–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439
440
441CUpDownClient* CClientList::FindClientByECID(uint32 ecid) const
442{
443 for (IDMap::const_iterator it = m_clientList.begin(); it != m_clientList.end(); ++it) {
444 if (it->second.ECID() == ecid) {
445 return it->second.GetClient();
446 }
447 }
448
449 return NULL;
450}
451
452
453bool CClientList::IsIPAlreadyKnown(uint32_t ip)

Callers 2

Get_EC_Response_FriendFunction · 0.80
ProcessRequest2Method · 0.80

Calls 4

ECIDMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
GetClientMethod · 0.45

Tested by

no test coverage detected