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

Method GetNameSession

adapter/micro_thread/mt_notify.cpp:372–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372ISessionNtfy* NtfyObjMgr::GetNameSession(int session_name)
373{
374 SessionMap::iterator it = _session_map.find(session_name);
375 if (it != _session_map.end())
376 {
377 return it->second;
378 }
379 else
380 {
381 return NULL;
382 }
383}
384
385KqueuerObj* NtfyObjMgr::GetNtfyObj(int type, int session_name)
386{

Callers 1

GetNtfyObjMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected