MCPcopy Create free account
hub / github.com/F-Stack/f-stack / FindNetItem

Method FindNetItem

adapter/micro_thread/mt_net.cpp:1599–1607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1597}
1598
1599CNetHandler* CNetMgr::FindNetItem(CNetHandler* key)
1600{
1601 if (NULL == this->_session_hash)
1602 {
1603 return NULL;
1604 }
1605
1606 return (CNetHandler*)_session_hash->HashFind(key);
1607}
1608
1609void CNetMgr::InsertNetItem(CNetHandler* item)
1610{

Callers 3

RemoveNetItemMethod · 0.95
RegistSessionMethod · 0.80
FindSessionMethod · 0.80

Calls 1

HashFindMethod · 0.80

Tested by

no test coverage detected